Some people indeed identify too much with their jobs, but for many others getting replaced by A.I means on very practical terms - a huge hit in salary, it means possibly retraining - maybe for years, means stress to the family (mortgage, bills etc) perhaps even stress to the marriage. I disagree that the people near you only love you or need you for your presence; they also rely on your paycheck. Your daugher may love you for you but she needs that check to the private school, that money for nice clothes and gadgets like her friends all have and paying for that apartment in the nice neighborhood.
Nobody needs private school, give me a fucking break.
I know it's hard, but I guess it's a good idea to live below your means in case something happens, and also save considerably to face moments of uncertainty. People with tech salaries can do it. Most of the world (and country, independently of where you live) live with much less.