The legal entity which maintains the list of teslas owners is ultimately tesla, but that duty will be likely given to dtcc.
A stock is ultimately just an entry on a list maintained by the company, most offload the managing of the list to DTCC and usually the pointer isn’t to you but to your broker dealer.
There is no sense of being able to hide ownership overseas, we’re talking about an American company keeping a list that points to someone, that list can’t be offshored.
https://en.m.wikipedia.org/wiki/Depository_Trust_&_Clearing_...