Regulation. Take the money out of governing, both national government and private directors. If someone makes decisions that affect many people, make that person accountable, either through a competitive market or a functioning justice system.
The problem is that the fantastically efficient tool that is capitalism will try to increase it reach as much as possible. Killing competition and undermining laws will always be the end goal, so long as they are in anyway allowed.
The reason companies used to care is because not caring drove customers to the competition. But then there was no competition, and the care evaporated. As long as they are allowed, they will take. Civility can only be guaranteed if profits are on the line.