Infrastructure costs must be much higher than Netflix.
YT has far higher storage costs, their content caches way worse and they have to pay for all the tech involved with Content ID, commenting, search over a much larger index, a slick upload/edit experience, ad handling, ad targeting, handling highly heterogenous content etc. This is an org that had to design their own ASICs to keep up with transcoding demand, it's just not in the same galaxy as Netflix in this regard.
That said, YouTube may still be profitable. I doubt even Google knows. When I worked there a long time ago execs were routinely asked about whether particular products were profitable and the answers made clear that they usually had no idea. Too much shared infrastructure that can't be clearly accounted to any one product, and many products justified with hard to measure things like making web search better.