The West was throwing all shorts of shades at political powers here in Eastern Europe back in the day for not letting the free flow of information do its thing. So, saying that the US is doing the right thing now to ban TikTok based on ideological grounds is saying that it was right sending people to prison back then for listening to Radio Free Europe and similar.
I keep seeing this style of argument, but it's completely irrelevant and ignores nuance and the specific circumstances.
Banning TikTok is not going to impact the free flow of information. That traffic will just move (back?) to other social media platforms.
"Back in the day", the Soviets didn't want their people to know what life was like outside the USSR. Banning TikTok will not reduce anyone's knowledge about what's going on outside the US.
As a US citizen, I am absolutely fine with my government taking steps to prevent a totalitarian foreign adversary from influencing political thought in my country. The US is far (far!) from perfect, but moves like this don't affect freedom of speech or access to different viewpoints.