Google is ought to pay taxes like everyone else. Without the UK infrastructure, there would be no businesses to advertise through their service.
Taxes fund healthcare and security. Without healthcare, people would die and Google would have less customers. With no police and justice system someone could just go and bomb Google's UK datacenters.
Trying to rationalize why one company should not pay taxes while others do is bad.
Google extracts profits from UK economy and doesn't pay anything in taxes. It's bad for every UK resident.
If there was no Google, people would use directories/yelps/UK-based search engines which would pay taxes. In this case, from the economic point of view, Google is simply a parasite.