Like you just said, TikTok already compiles with this security law and censors/bans whatever the CCP requests. By moving outside of China it can either lose access to the Chinese market and get banned by China or still comply with its laws and get banned by the US.
The thing is, TikTok has offices out side of China due to the Musical.ly acquisition (Located in the US) so can still operate there whilst Bytedance being headquartered in Beijing.
A takedown request can be made to the App Store owner. Apple and Google.
[0] https://9to5mac.com/2017/01/04/new-york-times-apps-removed-i...
The company has an isolated version called Douyin that is only available in China.
How does complying with China's laws in China will get you banned from the US? The US has all the right to establish the laws for products distributed on its own territory, as China does for its own.
Note: TikTok doesn't write Chinese law, so they're not the ones being anti-competitive, even if they benefit from it.
That China bans Google is bad for customers in China. What do we gain if we ban TikTok?
It seems that companies not adhering to censorship cannot expand into China, however, Chinese companies adhering to censorship (e.g. TikTok) are able to expand into Western countries. Isn't this anti-competitive?