Corporations don't think long term. Their focus is on the present and what's happening with their stock price.
Companies don’t make decisions, people do. In many cases those people only care about this quarters bonus. The board and stockholders should care about the long term.