Coca-Cola is working on a new vending machine that adjusts its prices based on the current temperature.