Part of Google's challenge may be that many of the best engineers now prefer to go the startup route and build something they're passionate about, rather than join a large corporation, even Google.
And Google's ~$25B in the bank is much better spent buying and integrating those companies than investing in mortgage securities and whatnot.