A few hours after Elon Musk berated analysts for what he perceived as unimaginative questions, Volkswagen AG said it was writing a check for batteries that almost match Tesla’s entire market value.

VW has awarded battery-purchasing contracts worth 40 billion euros ($48 billion), double from just a few weeks ago. The deals take the German manufacturer within striking distance of a sought-for 50 billion-euro total. By 2025, VW plans to sell as many as 3 million all-electric cars per year, Chief Executive Officer Herbert Diess told investors Thursday at the annual shareholder meeting in Berlin.

While Musk has perfected the role as industry iconoclast, he’s finding himself increasingly on the defensive as investors probe Tesla’s finances and established manufacturers from Daimler to VW push aggressively into his niche. VW makes more cars in four days than Tesla does in a year, and is harnessing its immense financial financial and engineering firepower to make up for ground lost in the self-inflicted diesel-cheating scandal.

Cracks from mounting pressure on the California-based electric vehicle maker started to show when Musk criticized analysts for asking “boring” questions and cutting off queries about the company’s capital needs during Wednesday’s earnings call.

“By 2020 we will offer our customers more than 25 new electric models and more than 20 plug-in hybrids,” Diess said. “In just a few years’ time, then, across all brands and regions, we aim to put the world’s largest fleet of electric vehicles on the road.”

VW’s Audi brand, the group’s largest earnings contributor, will start production of its first all-electric SUV at the end of August, followed by the four-door coupe Mission E from sister brand Porsche next year. VW’s namesake brand will start to roll out the new I.D. range of battery-powered vehicles from 2020, which will be priced at comparable levels to similar combustion engine vehicles.

As carmakers roll out their electric lineups, Diess said there were “clear” indications to restart talks to establish manufacturing of battery cells in Europe to satisfy growing demand. Robert Bosch, the world’s largest car-parts maker, decided against starting an own battery cell production earlier this year citing high investment demands.