As consumers move online, food and beverage makers struggle to adapt