to be clear, I don't think ByteDance was greedy. I suspect ByteDance would have been happy to cash out. but it wasn't up to them, they needed approval from the CCP.
if a US social media startup somehow got extremely popular in China, I'd understand and even empathize with China requiring it be sold. they'd be right to mistrust us.
China avoided this problem by ensuring that never happened in the first place.
Then China requires the company's operations in China to be more than 50% owned by China. The TikTok thing is very much "what's good for the goose", but it's also the US acting more like China the authoritarian country.
I couldn’t figure out if that is actually true
But the distinction is somewhat redundant with their government structure anyway. If they want to force you to do something there, how much does it matter if they say "you have to because we have majority control of this company" or "you have to because we have a one-party system and control the law"?
If the US government e.g. orders a US company to censor criticism of the US, the company can sue them and plausibly win. If you can't do the same in China, you don't control that company, they do.
You can both believe that the requirement is justified and that it comes at a big cost for the org that would have to sell. They aren't mutually exclusive.