A PBC is allowed (but not required) to make decisions that benefit the public but might not be beneficial for shareholders.
They absolutely are not, and Ford v. Dodge concerned the rights of shareholders, in particular minority shareholders, to not have the value of their positions intentionally devalued through actions of the corporation's management. In fact, in the first sentence of the very article you posted:
> At the same time, the case affirmed the business judgment rule, leaving Ford an extremely wide latitude about how to run the company.
As noted in the "Significance" section, value maximization is a legally-unprovable standard.
Also from that page:
> This case is frequently cited as support for the idea that corporate law requires boards of directors to maximize shareholder wealth.
[...]
> However, others [...] found that it was an accurate statement of the law, in that "corporate officers and directors have a duty to manage the corporation for the purpose of maximizing profits for the benefit of shareholders" is a default legal rule
Due to the "business judgement" rule, the management of a for-profit company gets to do business just about any way they want without any legal constraint; all they need is some reasonable rationale for why it might somehow, in the long term, benefit shareholders.
This includes giving stuff away and selling stuff for a loss, as many unicorns do. It includes paying employees very well, as some companies do. It includes making donations to charity. It includes either sticking to their original business, or deciding to spend a lot of money breaking into a new business.
In practice, shareholder primacy happens less because of what's legally required and more because many companies have management and employees who are shareholders. If the company stock goes up, the employees do well, and this promotes a culture where people try to make the stock go up.
As I understand, another big benefit is the ability to use public benefit as a protection from hostile takeovers from companies that might undermine the PBC's social mission.