Your EV calculations assume that there will only be one winner of the lottery. Often when there is a huge jackpot, there will be multiple winners splitting the jackpot, which reduces EV. The math behind this is nontrivial. You're also ignoring tax issues and the fact that the jackpot is paid as an annuity whose present value is considerably less than the headline amount.