PepsiCo is to cut around 8,700 jobs as part of a wider strategy to cut costs and "drive growth" across the business.