I think what you're describing is really a part of the decision making process by founders and initial investors who are taking the company public or shopping equity to VC.
The default mode of a company is to increase shareholder wealth, but a company that clearly communicates to potential investors and the market as a whole that they have a different metric of shareholder value (e.g. social conscience, environmental concerns, customer experience) can still be successful in taking a company public or raising funds from VCs, they'll just be selling equity to a different, if overlapping, group of investors.
Companies that want to do good and don't think through how going public or taking investment will change the incentives on which the company operates are destined to end up in the default mode.
As always, try to put both your consumer and investment dollars in companies that understand that.