PepsiCo has elected a former chairman of 3M to its board of directors.