From recent filings, it seems most of their *profit comes from China. The US cost of business doesn’t seem to inspire them.
A lot of their profit comes from China only because they opened their Gigafactory in Shanghai to a receptive audience. When Gigafactories in Berlin and Austin come up this year, China will be their lowest profit margin location. All of a sudden, the tariffs coming from the USA and EU will be gone, and Teslas in these factories will be using their own batteries, unlike in China, where they will always come from a third party.