Perhaps Google as well as anyone else, including my self, feel that they can spend 2B in a better way than the government would. For example, lobbying for more open internet.
They're not spending that $2B. They're putting into "safe" investments like treasuries or just keeping as cash. Thus, you are effectively paying them to hold onto it via your taxes (for the bonds) and inflation (for the cash).