A commenter on this blog, L. Zhang, made an excellent point that most of Google's cash is trapped overseas. Repatriating it to the US to buy US companies would cost them 35% in tax.
Borrowing US money at 3.75% to buy US companies is far cheaper than using their own cash reserves.