Earlier quoted context omitted.
It was the market that delivered BYD and Xiaomi. The government did his part with industrial policy and inviting Tesla to China to help start the ecosystem, but the brutal competition between Chinese auto makers following the rules of capitalism and free-market made those who survive the ones that can compete with other global companies. Before that they just subsidised and all they got were regional "champions" that…
This narrative overweights free market competition in China and any influence Tesla or Musk might have had versus the $230B in subsides provided to the Chinese EV industry over 14 years (2009-2023), with over ~$1.5B provided to CATL alone (although Tesla did receive ~$17B in total government subsidies in the US). Tesla did not begin production in China until October 2019. If there’s any hero story here, its the will…
The policy shift came around 2017 when the government understood that subsidies and closed market created lazy automakers (e.g. check the US market for the same dynamic in trucks). In 2018 they removed subsidies for cars less than 150km of range and changed the requirements to receive them tying them to battery density.
After Tesla came and subsidies were reduced, most of the inefficient companies went bankrupt. It was the free-market competition that killed them. The reason why it changes was the competition not the subsidy. The subsidy was somewhat important, but as many of us knows, nothing government run produces good consumer products, you need market and free choice to get productivity. So it was the free-market and subsidy cutting that created the BYD, Li Auto, Xpeng and Nio. That's the proof that without free market it's impossible to have strong companies. And without subsidies you can have strong companies, even if it takes more time.
In EU and USA subsidies didn't create a lot (Northvolt?), because there were not enough free-market driven demand and too much regulation to jumpstart the free-market forces that will start the engine of innovation.
So the answer is not "capitalism and free-market doesn't work and governmental industrial policy is the answer", but it's the market that creates the strong companies. You can speed it up with venture/government capital, but without the brutal competition in the marketplace where people vote with their wallets you won't make it work.