You could buy an annuity from an insurance company. A quick Google search shows that $2mil should buy a 40 year old about $70k/year for the rest of their life.
That would be an incredibly awful deal for a 40yo, since it’s not inflation adjusted, so in 10 years you’ll be kicking yourself for having converted real assets into fixed nominal returns.
Annuities really just work well if you are 80+ and want to insure against longevity risk.