Tesla’s Shanghai factory has resumed production.