It literally does, if you're a publicly traded company.
Companies hollow out (or enshittify) their products because it is easy and because it guarantees results at least in the short term. There are other ways to grow, and they tend to require imagination and long-term planning. Don't blame the stock market for entirely voluntary choices of taking the easy way out.
[1]: https://arstechnica.com/gadgets/2014/03/at-apple-shareholder...