The Coca-Cola Co has pledged to invest US$8.2bn in Mexico over the next six years despite the country's government having introduced a sugar tax.