You're being imprecise - it doesn't cost Google money, it is advertisers who are losing money in this case.
Of course, in the long run, if clicking ads gets popular as a trend among adblocking tools, it can influence the whole industry, and Google will earn less money. This is not the same thing, though.