Discussion is around the stock market.
Yes, when you buy newly issued shares from Apple (rare), cash flows through the stock market into Apple's accounts, but again, no money went 'into' the stock market.
If you're talking about Apple selling devices, then it's another concept entirely.