This underestimates the difficulty of pivoting towards a career that won't be affected by AI any time soon: blue collar work, most likely, for us knowledge workers.
I'm keen to learn plumbing or becoming an electrician, but I won't hide the fact that I am so used sitting on my ass at home all day and get paid, not making physical effort, get callused hands and driving around in a van to make rent. I'll have to do it, but to say it's a traumatic change for someone in their 40s is an understatement.
The silver lining is that coding for fun, by hand, however I want, on whatever I damn please, after a whole week of physical activity, will be the best reward, one I haven't felt since my teenage years.