This sounds good in theory but as a Canadian I often wonder how much our government's actions are on behalf of us the people as opposed to well financed or politically powerful special interests. It looks to me like many Canadians other are wondering that as well.
However, that said, I do agree with your broader point. I'm suspicious of Tik Tok and the Chinese government's intentions and I think banning it was a good move.
Important to note that they didn’t ban TikTok in Canada.
They booted TikTok corporate from the country as a threat to national security.
Given how China operates globally and especially in Canada, I’m completely fine with them getting told to beat it