I'd say that's definitely a smart plan, don't count your chickens until they've hatched.
that doesn’t mean “ignore the actual dinosaur eggs in with the chicken eggs.”
if we’re really lucky, robots will never replace pilots, if we’re kind of lucky we’ve got another career or two left of time, if we’re just lucky, we’ve got 10 to 30 years, if we’re unlucky 10 or less.
How old are you going to be in 10 years? Do you want to be re-envisioning yourself then if you can’t retire? Or do you get some skills now, do a side hustle that you enjoy, and make being prepared for things if things go bad easy?
I never really intended to do that, but I went back to school for math on the side of flying because I had some questions and finished when I was 30. I was interested in the field, and programming related stuff, so what I’m doing now (as some sort of strange contract tech apprentice) is a great fit. Regardless, I got lucky.
either way, find something you enjoy outside of aviation that society values, and get sharp enough on it to be able to transition to employment - if you never have any need for it, it will make you a better more worldly person, if you do need it, it could be the difference between feeding your family or not.
I disagree with a great many facets of the way the world works. But I can’t change the rules, I must merely play by them. As soon as it is both technically and financially feasible, businesses that can capitalize this technology will. At that time, I would really rather be prepared - just saying (having lived this experience already).