Maximizing shareholder value in the way that’s usually meant is a business school doctrine, not a legal doctrine. (Edit: on second thought, it is a legal doctrine, just not the legal doctrine.) See, for example, http://www.virginialawbusrev.org/VLBR3-1pdfs/Stout.pdf :
“Dodge v. Ford is a mistake, a judicial “sport,” a doctrinal oddity largely irrelevant to corporate law and corporate practice. What is more, courts and legislatures alike treat it as irrelevant. […] Only laypersons and (more disturbingly) many law professors continue to rely on Dodge v. Ford.”
I stand by my observation that a non-profit is poor evidence for the assertion "Money can be a major concern to a huge operation without being its primary focus"
Lots of companies exist to make money, sure, but it's possible for a company to exist where that's not the raison d'etre.
facebook has a legal obligation to maximize shareholder value: