Tesla said all data generated from cars it sold in China will be stored in a new data center there.