When Ford, General Motors, Mercedes-Benz and other auto manufacturers last year pledged to phase out sales of gas and diesel vehicles worldwide by 2040, the most immediate impact on commercial real estate came in the form of multibillion-dollar plans to build domestic factories and battery plants.