G.M. Will Sell Only Zero-Emission Vehicles by 2035

The move, one of the most ambitious in the auto industry, is a piece of a broader plan by the company to become carbon neutral by 2040.