General Motors, one of America’s biggest automakers, has announced plans to end the sale of gas- and diesel-powered cars, trucks and SUVs by 2035 and shift its entire fleet to electric vehicles as part of a broader plan to become carbon neutral by 2040, the company said last week.