(You may have a point on the shorting of shares, but that serves a purpose too; to devalue overpriced assets)
Then there are others who invest purely as stock price speculation, and is generally disinterested in the actual goings-on of the business beyond what is likely to impact short-term stock price.
In both cases you're investing money in a company because you think the value of that company is likely to rise in the future. And in both cases the company benefits from that investment.
I agree that many investors are too focused on the short-term... but if they think they can make more money by selling a stock and reinvesting elsewhere rather than holding onto it for years, can you really blame them? The whole point of investing is to make a return on your principal.