PepsiCo Inc. has pledged to achieve carbon neutrality by 2040, adding to the growing list of major companies including Amazon.com Inc. that aim to reach net-zero greenhouse gas emissions a decade…