When GM’s very first car, the Chevrolet Classic 6, appeared on Detroit’s streets in 1912, it ran on gasoline. More than a century later, in 2034, the very last GM car that runs on gasoline is scheduled to roll off the assembly line. Starting in 2035, GM intends to make only electric cars, from its least expensive model, the $4,000 Hongguang Mini in China, to the “handcrafted” Cadillac Celestiq at $200,000-plus. The other major car companies, from Ford and Toyota to Volkswagen and Volvo, are heading in the same direction.

Governments are also driving the shift. California has banned selling gasoline cars in the state after 2035, and Britain is aiming for 2030. China will allow only electrics or hybrids to be sold starting in 2035, and the Biden administration’s giant new infrastructure bill includes $174 billion to support electric cars—50% more than for bridges and roads. Just this week, the U.S. and other nations committed themselves to new emission reductions that will add to the effort to push internal combustion cars off the road.

But the switch to electric is not the only factor reshaping our relationship with the automobile. Self-driving cars clocked 2 million miles of test-driving on California’s roads in 2020, and anxiety bordering on alarm is quietly running through the auto world at reports that Apple is working on its own Apple-branded self-driving electric car.

To this mix we can add the rising popularity of ride-hailing services, with the prospect that, in the years ahead, automated vehicles will start to take the place of today’s drivers. China’s Baidu, one of the world’s largest internet and artificial intelligence companies, has already started putting robot taxis on the road in Beijing and Guangzhou.