The law and morals are on two different planes. The legal system in the United States has advanced to such a state that the agents of corporations, often lawyers, do not have to pretend that what they do is moral. They remain aloof from morality. They know no shame. What they do, and their clients do, however, is legal.
Corporations have the status of artificial legal persons.
From a legal standing corporations may own assets, enter into contracts, can be held responsible for committing crimes or torts and can initiate court actions. With that limited liability comes power, and power corrupts. The entity concept allows a corporation to be a corporate Sybil, so it can play Pontius Pilate in response to its alter ego's most egregious acts. Individuals who act in that way are called nuts. Corporations are called wise, because they have limited their liability.