They're basically gambling on making a profit. They could give you for example 10m in exchange for 20% of everything you win. If you win 100m they get 20m and a 10m profit. As Keith's commentary said, they must think there's a decent chance of winning and making a tidy sum.