Except for the initial IPO, the money paid for stock goes to the current stockholder, not to the original company. If I sell my 3M shares and buy GE stock, that's all on the savings side. I sell to one investor and buy from a different one. It generates no demand for product, it does nothing for the economy.
A stock index fund, or mutual fund, is a continuous offering