Facebook has not even begun to do the things they could with the knowledge they collect every day. In theory you should be able to go to one of Facebook's ad sales pages and order an ad that will be shown exactly three times to every left-handed piano player in Ohio. That you can't do that in the next ten minutes means that Facebook is leaving money on the table. They don't need to compete with Google, they need to compete with Experian and Transunion, or they need to come up with a way to provide a compelling "We manage your online data for you." offering that a majority of their users would pay for.
Facebook is, right now in a fairly enviable position; there are many things that they could potentially become, they are not hamstrung by the need to keep a cash cow fed and they have enough resources to try multiple experiments at scale.
I wouldn't count them out as a driving force on the web just yet.