Businesses get punished by markets when they operate inefficiently. They do not get punished by markets when they poison, cheat, rob, or kill people - especially when those people aren't their customers.
This is mainly true in competitive markets. Markets aren’t always competitive. We could argue we live in an oligarchy which isn’t as competitive as we are taught.