Tesla is building a massive factory in Shanghai, the first wholly foreign-owned car plant in China. WSJ’s Trefor Moss explains why it’s doing so even as U.S.-China trade tensions heat up.