This is the very thing that libertarian style free market types do not understand. They think is it perfectly OK to let harm happen because if it is enough harm it will stop.
They fail to grasp that a Corporation is given the power to act as a person, but there is no person that is specifically liable for it acts. (hence limited liability). On top of that a Corporation is by definition amoral (not immoral, if you do not understand the difference look it up). Their responsibility is not to society, others, their workers, the environment or even their customers. Their responsibility is only to their share holders and the bottom line. Now it is true that no corporation will last very long if they do not do the things necessary to sustain their business. But except for the government and the long arm of the law, they have no obligation to. Even a good corporation who understand these things would choose differently and cause harm from time to time if it enhanced the bottom line and they could get away with it.
Society benefits immensely from corporations and the wealth, commerce, goods and services that stem from them. So they should be allowed to exist. But is not a free ride where they have no one to answer to other than their share holders. It's all part of the deal. They can exist and make billions - but they must be responsible to the society that allows them to exist. And that means submitting to reasonable regulation and oversight.