And that's not the case with Ukraine because...?
As far as I know we have no data to that end, and I consider it unlikely because it's not strategically opportune for the Chinese: The Russians are perfectly capable of bending the algorithm to their favour without being given a leg up so why risk burning the asset that is TikTok to support a war that the Chinese aren't fans of, anyway, for an "ally" that's already busy vassalising themselves to them.
I don't think that the Chinese are actively using TikTok for anything at the moment, on the side of ByteDance they're using it as a money maker, research platform to figure out things they can't figure out with their highly restricted domestic version, and on part of the CCP it's something they may care to use actively in the future, but there's no need or use now, but they sure as fuck slurp up all intelligence they can get from there. Long story short don't dunk on China if you want to visit it, especially not on TikTok. Personally I recommend dunking on China and visiting Taiwan, instead. Better tea, anyway.
It's not actually any safer, they taped thin rubber strips over the exposed edges. Someone's friends with an inspector who played dumb, me thinks.