The Focus Paradox
Both Facebook and Google had early success in (large?) part because of their focus. Google in terms of what they did, Facebook in terms of who could use it.
That success provided both pressure and opportunities to grow in new directions. Expansion is always tricky, and each company has handled it in different ways.