Tesla secures land in Shanghai for first factory outside US