That is mostly true but a bit of a simplification. They exist to do what the people who have power want them to do which is not always strictly profit maximization.
A ceo may realize rto will decrease profits but do it anyway because it increases the power delta between him and the workers.