Corporate thinking isn't focused on the long run. It's focused on next quarter's earnings and what effect that has on the stock price.
That is true of many, but not all corporations. Millions of dollars are spend on R&D by numerous corporations. My old company seemed to have that mentality in the 1990’s, but not any more. They are kicking tail in their industry now.