Isn't the jackpot only a fraction of the revenues from all tickets sold?
Yes but progressive jackpots accumulate if not won in previous drawings.
In this particular lotto, 4% of all possible numbers were bought in a typical period. So it's not truly riskless, but there was definitely a positive expected value.