How can we prevent people from cashing in on other people's misfortunes?

Pharmaceutical industry, insurance companies, casket stores, cemeteries, etc.

Basically, all these places cash in on other people's misfortunes.

Is any of it ethical or is it just a fact of life?