If Google got out of the business, then squatters would have to use some smaller and less-scrupulous network to monetize the ads. That company would probably give them less money, both because it had fewer advertisers and because it would know they had few other options, so it could charge them higher rates.
As a result, a whole bunch of these domains, which are only very marginally profitable right now (their owners rely on volume) would become unprofitable, and the industry would shrink, leading to a net decrease in domain squatting and a net increase in the density of useful information on the web. If Google cares about information instead of money -- and they claim they do -- then getting out of domain squatting is an obvious choice.
(Edit: I'm not arguing the OP's point that Google legitimizes the industry, simply that being in it is in some ways dubious. In case it wasn't clear.)
I'm saying that google ending their adsense for domains program would not cause the domain squatting industry to collapse.
I'm not saying they're not within their rights to do so, I'm just saying it's not something a non-evil company would do.
Sadly, Google took the evil pill a few years ago.