With a martingale strategy the chances of losing are miniscule but if you play 10,000 rounds at a 0.01% of losing, you're going to lose once. And that's when you lose all your capital.
http://automatingbetfair.blogspot.co.uk/2010/02/betfair-bots...
Also, if you believe to have a betting system that does work, VegasClick[2] runs a $30k wager against your $3k if your system can survive at least 11 of 20 200,000 round games. It's easy money.
[1]: https://wizardofodds.com/gambling/betting-systems/ [2]: http://vegasclick.com/gambling/betting-system-challenge
In sports betting markets it is theoretically possible to make money, but very hard.
https://en.wikipedia.org/wiki/J._Doyne_Farmer#Beating_roulet... (although the roulette example could be classed as cheating ;)