Post-IPO, companies can also raise additional capital by issuing more shares (either to the public or by e.g. issuing RSUs to employees). Only in those cases is the stock price relevant. Otherwise, the market can be mispricing a stock without any bearing on the functioning of the company.
It wouldn't, because there isn't anything else they can do with the capital other than sit on it in a bank and get no return.
The myth that the stock market is relevant is put about by people who work in stock markets. Much like share buy-backs are the same as dividend payments. Exactly how giving the company's money to people who want to stop investing in the company is the same as giving it to those that do is a triumph of using dodgy maths and statistics to fool people.
I just don't follow the reasoning that stock price enables resource allocation.
Companies can issue bonds if they want to raise large amounts of capital. Those are traded on a different market and are fundamentally different than stocks. They are debt instruments, not ownership.