They probably could block yt-dl (or at least create an annoying cat-and-mouse game for them) if they really wanted to. They probably just don't care enough, or figure there are enough positive benefits to allowing it. Some people (including other content creators) will always have a legitimate need to download YouTube videos.