1. Companies don't take personal responsibility when they do antisocial things, claiming they can't be blamed, since they are just following incentives in order to compete.
2. Companies follow incentives, and lobby government to incentivize the behaviors that make them the most money (even if those behaviors are antisocial).
3. Government, influenced by the belief that the only way to do things is incentives (since regulation risks losing companies to other jurisdictions) gives companies the incentives they ask for (even when those incentives incentivize antisocial behavior).
4. GOTO 1.
We cannot trust markets to regulate the behaviors of companies. There is little to no benefit to any company, i.e. investing in ending homelessness when they can simply wall off their campus and prevent the homeless from entering. Companies might choose one or two social issues to do good on for marketing purposes, while creating equal or greater harm in other areas. Until SF (and indeed, the rest of the world) becomes more willing to regulate companies, things are only going to continue on their current trajectory.