I think that the key difference here is the function/purpose of individual companies vs the sector/industry in aggregate. So yes individual companies should be working to maximize profit, but at the systems level of abstraction they should be adding value to the economy.
When you see one without the other it indicates that the system is not functioning properly.
When you see one without the other it indicates that the system is not functioning properly.