PepsiCo has launched a vending machine in the US that gives consumers detailed nutritional information on each product.