That's true, of course. However, every source I can find says that the company was founded in Shanghai, but ended up being more successful in the American than the Chinese market, and opened up offices in California. Most of the engineers are supposedly in Shanghai, though. One more detail is that the founders appear to have worked in Silicon Valley before founding the company.
Whether any of this makes any difference, as far as US law goes, I don't know.