Profit is the first and foremost obligation, above and beyond any other considerations. So, cost effective becomes the predominant and guiding factor .
If some obligation concerning the damages, effects and cost to the commons, (like a rating or incentive) is not included, then you can be sure that there will be casualties right down to the end of everything...if whatever it is profitable.
So, greed is an aside and regards ethics or personal proclivities in this sense. The profit system is sacrosanct, built-in and foundational as far as corporations are concerned. Greed would pertain to the resulting wealth amassed as an after-effect of that system, often with the controlling shares, (and largest payout) to families, small groups, boards, etc. In my opinion it is a sort of smoke screen and now, well we have that ghost of the "corporate person" to sweeten the deal in regards to expanding rights, privileges and power.
Here is a short, rather graphic, illustration of the idea: