Yeah, it was both. The european brands avoided electric cars for a long time, while the chinese pushed hard for them. And because electric motors and car batteries were a new technology, this was a great opportunity for the chinese to pull ahead(everyone started from 0).
And the chinese also used their cooperations and acquisitions(Volvo and Lotus are owned by the chinese brand Geely), in order to improve the conventional car making part production(everything other than the electric engine and batteries). Tesla followed a similar arc. Their motors/batteries are great, the other parts started as bad but they are improving all the time.
Maybe Volvo? Do note that Polestar cars are made in China, but Volvo ones should be made in Europe or US. I dont know how good the conditions in the american Volvo factory are but in Sweden, Volvo is considered a good employer. Volvo/Polestar are owned by Geely, which is a chinese company but Volvo is pretty independent.