Elon Musk's giga factory experience in Shanghai was like an revolving door for him. He took his technologies to Shanghai, quickly set up the production line and along the way created the eco-system full of parts suppliers in China. Now equally as quickly, China wants to force him out because his value to China is no longer there. China will prop up its own domestic electric car makers to replace Tesla.
Lessons learned for Musk: never take China's offer at its face value. Their ultimate goal is to take away your knowhow and then kick you out!