TikTok is a direct competitor to YouTube Shorts, but not YouTube as a whole -- YouTube also competes with Netflix and surprisingly paid course sites (did you know YouTube has courses?)
I don't think it's as easy as thinking TikTok will unseat YouTube. Also, I personally think TikTok's... approach is a bit hard to sustain. Just like Facebook's approach of initially showing you a feed of friends activities, but morphed into something else over time (some of that is not FB's fault, humans have certain behaviors that can be toxic all on their own).