The Chinese government prioritized critical minerals and made sure there was domestic mining and processing. Then they mandated that regional electricity companies install EV chargers. Then they provided consumer incentives to buy an EV (bypass license plate lotteries). Then they didn’t play favorites; so much so that when the domestic manufacturers were crap they allowed Tesla to come in and set up production. That raised the bar on suppliers and spurred actual competition from the local brands.
They build the conditions for actual competition to occur and then are letting the companies win or fail on their own merits, someone will be bictorious and they’ll be lean and mean. A true capitalist free market compared to the sweet protectionist deals the Big Three get.
Would BYD be allowed to build a car in the USA? Even a joint venture? Of course not, Washington is mulling not allowing Chinese cars to even be driven across the boarder for those silly Mexicans and Canadians who want to buy one.