That is "technically correct" but meaningless in practice. It's like saying that people are just a collection of molecules. While technically not wrong, humans are of course more than the sum of its parts. The collection of molecules, arranged in a certain way, exhibits emergent behaviour; it will seek food or have intelligent thoughts, which molecules individually can't be said to do.
Likewise, companies as institutions are more than the sum of their people, and will display behaviour that cannot be fully explained by looking at their people individually, and this has very much real consequences. Like a nation is more than a collection of people, and this fact has consequences on the real world.
Each company has different behaviors, some broadly can be assumed, like, a company won’t usually want to deliberately destroy or bankrupt itself (there have been exceptions to this!). Others will contribute greatly to social or environmental programs that directly hurt short term profits. how they get to those decisions is complex and requires strategy, execution, leadership, etc. Not something so 19th century as “profit maximization”
My original post was to state that’s it is false to suggest that a company is always a profit-maximizing amoral machine. People aren’t machines and The emergent behavior of any given corporation rarely is “Profit maximization”. It is sort of like saying the emergent behavior of a sports team is “point maximization”. It is meaningless and not true.
One might suggest that encouraging freedom / democracy is in the long run health of all for-profit companies. I haven't seen any boards or shareholder activists argue against this yet.