In today’s high-tech, high-stakes auto industry, fortunes can change quickly, and there’s no better example of that right now than Toyota Motor.

Not long ago, it looked as if Toyota had fallen dangerously behind in electric vehicles. Tesla, the electric car pioneer, has grown rapidly and become the world’s most valuable automaker. Seeing Tesla’s success, other companies, such as General Motors and Ford Motor, concluded that large numbers of consumers were poised to switch to battery-powered cars and trucks and began investing tens of billions of dollars to catch up.

Toyota, however, was more deliberate — or lethargic, its critics would say. It has introduced just two fully electric models in the United States so far, betting that its gas-electric hybrids and plug-in hybrid vehicles, which it has become known for, would remain popular and were sufficient to address climate change for now.