TikTok is only banned if the Chinese Communist Party maintains control of it - it’s not the app that’s the issue, it’s the CCP.
Apparently the evidence US Intelligence has is so compelling that wide margins of both the House and Senate supported the law seeking disvestiture - unusual with the current congress.