Corporations only have to be motivated by profit due to shareholders. There is no law requiring corporations to put profits first.
In the US, corporate structure provides legal protections to individuals. (Aside: I am convinced that these protections give corporations more rights than individuals but that's for another post.)