At one point, the comments were probably really useful to YouTube. They probably increase the virality of the content, before Facebook and Twitter provided new ways to share. But now, it's a liability. Advertisers don't want their product to be juxtaposed with unaccountable commentary, and advertisers are the ones that finance the whole enterprise, for better or for worse.
I'm really glad Google finally decided to do something about their video comments. They host some of the vilest commentary I've seen on any mainstream site.
I'm not aware of advertisers ever caring about comments and if so that's absolutely ridiculous. Keep in mind they also allow anyone to post videos of anything at all short of porn and place adverts right over that. Plenty of forum sites have ads as well. I really doubt that was ever an issue and it's incredibly silly if it was.
Fixing the comments doesn't require removing anonymity or even censorship.
The problem with youtube comments is that it was a huge mainstream site open to everyone. Unlike niche communities that filter out certain kinds of people just because they don't go to the site. Second there was no sorting of comments at all. Anything anyone posted immediately appeared at the top. Like and dislike buttons had no functional use, they were a joke.
And the comments still suck and they always will.
But the racist idiot posting the most vile and offensive stuff you have ever read is going to sick around because he enjoys doing that.
Again with the "it's their right to do whatever they want with it, so you can't complain". First of all it's perfectly fair for people to complain or criticize a service. Especially if they use it a lot or depend on it. It's certainly frustrating to use a website for years and be forced to leave it or deal with the changes.
Second YouTube is basically a monopoly. There are not many other video sharing sites, especially with lots of viewers, to post videos on. And for viewers almost all the videos on the internet are hosted on YouTube and most content creators. It's not like we have much of a choice to just go somewhere else if we don't like it.