Quite. Facebook's net income for 2014 was about $3B and it's current market cap is $294B. I'm not saying it's current market cap is sensible, that's for the future to decide, but looking at the historical facts clearly it's valuation at $33B in 2010 has turned out to have been well judged.
How much of that 3B was profit?
All of it. Net is after cost of goods, tax, etc. Their revenue was about $10B.
Of course, if you're not a fan of how the private venture backed companies game works, you can always do a traditional business and use profits as the only source of growth. That's the beauty of our current system: it's not perfect but it still allows you to choose whatever path you want to and still have a good chance to make it work.