Do you think GM has been developing EV motors and batteries since 1996 and just never used them for anything? That is ridiculous. All of the people there had to start from zero when designing EVs.
There is no advantage of having had an idea but abandoning it 25 years ago.
If anything Chinese EV companies had an advantage as getting specialist in producing batteries and motors is surely easier if your country is one of the biggest manufacturers.
What of course is true is that GM could have had 25 years of development advantage, but chose to abandon that idea. This does not conflict at all with my point that they did not have that advantage, as they did not continue to make EVs.