At any given time it has a fixed amount of money in it. It also does not generate money itself, money that it "generates" is actually paid into it by outsiders.
It's not a piggy bank, it doesn't have "money in it". Stocks are a commodity with a value and the value is not fixed.
Companies don't create money (banks actually do, but not in the way you meant), they create value and get money in exchange. The value they create and the money they get in exchange varies over time and that (and the prediction thereof) influences their stock price.
That may well be, but as an answer to the comment of user bootsmann, the statement I was answering to was completely wrong, for the reasons I mentioned.
If you mean the stock market does not generate money by itself, then you betray a fundamental misunderstanding of what the stock market, or even money, is.
It´s a zero-sum game, but that doesn't mean it's not possible to make consistent gains. I'm publishing a paper where I derive a metric to show which bettor is better than pure luck.