"The reason companies exist in the first place is to respond to market conditions and make profit for shareholders"
It is not, and this attitude that profit is all that matters is exactly what's wrong with our current system, or why the current system is just wrong. Eg 'shareholder value' was only enshrined as the existential goal for companies in the early 20th c, and only really driven aggressively following the Lewis Powell collusio.. uh, memo.
Yes, companies should be profitable, to prove that they are doing something that society values, given the lack of any other realistic gauge (maybe we can invent something less clumsy and random, more elegant, in future).
But the reason for work, and therefore companies, is to provide goods and services to society, not just to 'make profit'. What does 'make profit' even mean, really? Markets, capital, profits, are all just current (flawed) methods to enable work, to decide what work should be done, to encourage invention of new valuable work, etc. The reason for the work is to feed, clothe, educate, heal, entertain ourselves.