The reason why betting on horses isn't considered investing is because the ATO would lose too much tax from people claiming their losses against the rest of their income. Same with any winnings from a casino, vast majority of gamblers lose money.
If you're good enough to win at either you're doubly lucky.