Because the acids in the coke doesn't react to the chemicals that make up a plastic bottle.
How come you can use Coke to dissolve acid and clean a car battery but it don't eat through the plastic in a 2liter bottle?
As Willie indicated, it's all about the chemistry.
And of course, if one were to invent a liquid that would dissolve anything, what kind of container could it be stored in?