Not in Germany, for example. The german constitution specifically states this:
Art 14, (2) Eigentum verpflichtet. Sein Gebrauch soll zugleich dem Wohle der Allgemeinheit dienen.
It's absolutely fine if a company decides to use its market power to shift things towards community good. There are many investment funds and banks that among their goals have benefits to society (GLS Bank, as another german example). Companies are also not required to put clients short term interest before the companies long-term survival. You're not forced to be a client, you're welcome to move to a investment fund that doesn't have such a policy if you think they perform better.