If you look a bit deeper though; you'll find that greed can lead to good and bad outcomes. People make decisions because in some sense they feel like they will profit personally. That is basically the same as saying they do things for reasons. We know that most people aren't especially principled because they are regularly tested and don't make principle-based decisions. Nevertheless there is a great deal of good in the world.
Corporations are greedy, but they operate in a world where it is hard for them to enrich themselves without enriching others too.