The Coca-Cola company makes much more than just Coke. They make bottled waters (several brands), teas (again, several brands), and a range of other "healthy" beverages (coconut water, etc.) And that's not to mention the diet/"Zero" versions of Coke's soft drinks. Indeed, the obesity ads you are criticizing so heavily specifically directed consumers towards KO's no- and low-calorie beverage options. As I mentioned above, it's clear from the ads that KO is following an emerging trend, not leading it. They know that the trend is towards health conscious consumers and away from soft drinks, and they want to make sure that consumers who give up/reduce soft drink consumption in favor of other beverages purchase their other beverages. Again, think long-term.
Soda is by FAR their biggest product. They sell water like Strum Ruger sells pepper spray. Not their main product and never will be; not even close.
And you know this.