Nestlé, Unilever and Danone are among the consumer-goods companies to have signed a new commitment on plastic packaging.