PepsiCo has shared plans to cut about 20% of its snacks, sodas, and other products in order to appease an activist investor.