Google has ignored that line the minute they became a publicly traded company.
Which rises some interesting questions about the true nature of the stock market.
The stock market is interested in success, nothing more, nothing less. Your definition and my definition of a "good company" might include something about social responsibility or not committing evil actions, but the stock market is in favor of those only so far as it doesn't threaten earnings, as most investors are not interested in the company or its employees or the stories behind them. Those companies are investments to them and are treated as such.
Non-shareholders have no stake, and the company is not set up to benefit them. The company won't try to harm them... as long as doing so does not harm the bottom line of the only people who matter -- the shareholders (and regulators... and law enforcement, the only folks who make the system not entirely Darwinian).