Elon Musk has had a friendly relationship with China, which has proved advantageous for Tesla.