The EU has the advantage that their politicians don't all own gigantic shares in any social media companies (because the EU doesn't have any), so they are afforded the rare luxury of actually voting for the good of the people. That's why the EU has decent data privacy laws.
The TikTok ban would've been far less problematic if they had created legislation for all companies that curtailed data trading and increased user privacy. But that was never the goal.