You can gamble on the stock exchange, just like you can "non-gamblingly" hedge certain risks by buying/selling certain financial products such as event futures. (Many insurance policies are structurally just that and are used for very boring non-gambling purposes!)
I don't think you'll find a simple/useful answer by slicing the problem on that axis.
At least when I put money in the stock market, I own a piece of the companies I'm invested in. I get some small amount of voting rights.
You don't get anything outside of winnings or losses from your bets on a "prediction market".