Youtube may be making a loss, but Google is not and they are better off keeping users in their ecosystem. If there was a viable alternative, I doubt this would be happening. There isn’t though, and with no competition anymore they’re free to capitalize and attempt to make as much profit as possible.