IIRC, Foreign companies need to have majority-owner Chinese partner entities to "own" business operations in China. So a non-Chinese car company that wants to have ownership over it's Chinese assembly line operations and sales in China needs to partner with a Chinese company (typically another automaker) that actually owns >50% of the joint subsidiary that actually makes and or sells the cars. The alternative is Apple, which owns no manufacturing and had everything produced on contract from independent manufacturers. And again, none of this involves user data. Also, both the play store and Apple iOS store's content are at the mercy of the CCP gatekeepers, so even if a person in China can buy an apple product, they experience a different app ecosystem.
I don't think there's a non-Chinese-owned company that has access to and stores user data streams, like a foreign-owned weibo or something, but I'd be curious if someone had an example.