Tiktok didn’t really exists at the same timeline as Vine so I wouldn’t say Tiktok won against it.
TikTok is as far as I can tell not profitable either, and they’ve been burning hundreds of millions on ads as well. I’m guessing the CCP will gladly spend a few billions to have a social media platform that’s used all over the world.