1. The government built the EV charger infrastructure so that even the remotest areas are covered, the chargers have one universal way to use them and you can't go far without seeing one
2. In big cities China made car registration much more expensive for non-EVs
3. Prices of EVs in china are much lower than anywhere in the world
None of these apply for Europe or US, and I am doutbful they can make a swift transition like China can.