Gambling is basically redistributing money according to a random numbers generator, It's a negative sum game (because the house takes its fee), but a surprise positive spike game. That spike forms an addiction in the less fortunate.
The big differences are time horizon, addiction and expectations.
The longer the term, the less actively one must watch it and the lower the expected returns, the more likely it’s investing. The shorter the expected turnaround, the more closely one watches numbers go up and down, and the more one is focused on turning multiples than yields, the more likely it’s gambling.
Any stochastic process can produce gambling behaviour. Only a positive-sum game can facilitate investing.
You are marginally reducing their cost of capital.
MSFT goes up a tiny fraction when you buy. That means MSFT employees with stock grants get a tiny "raise" courtesy of you and with no cost to the company. Microsoft can also use their more expensive stock to make acquisitions. So you are contributing to the company's productive use in at least 2 ways if you buy its stock.
Buying MSFT doesn't meet the criteria to be called gambling, for me.
Can you tell me more about this. I've never heard of it before. Is there a theorem?