If there weren't any technological measures preventing you from downloading and saving YouTube videos, then youtube-dl wouldn't exist. You would just download the video from YouTube yourself.
"Preventing" is not the same as failing to enable. As far as I know, there's nothing that youtube has implemented that prevents downloading. It is simply inconvenient as a result of not being the primary goal.