Google is a US military contractor working for the pentagon's murder-by-drone "projects". Before getting in the drones-for-murder business, Google was already working for the US military through its Boston Dynamics subsidiary. And these are just two examples off the top of my head. Of course, the main reason why Google exists is to spy on the whole world as partner in crime of the NSA.
You can read more about the very close relationship between Google criminals and US government criminals here.
Google and the NSA: Who’s holding the ‘shit-bag’ now? - by Julian Assange