Even simple web apps can benefit from web platform improvements. JS, HTML, and CSS have all gotten significantly better in recent years.
But YouTube is also a very complex app. Yes it "just" exists to play videos, but the app is so much more than a video player. Browsing, searching, comments, chat, playlists, YT Live, subscriptions, profiles, ratings... there's a lot there.