I actually worked briefly with an engineer who claimed to have seen the inner workings of the TikTok algorithm when she was consulting for them (she was a software engineer and mathematician), and I was very surprised to hear her say that there was no ML involved in the algorithm! Of course, I'm not sure I believe her, but it definitely raises the question of whether an algorithm of TikTok's caliber is even possible without ML.