Yea, IMO people shouldn't make jobs / professions too big a part of their identity. At some point human programming may be largely gone, but probably there will be increased demand for something else.
It should be government's job to make it as easy as possible for people to retrain, switch jobs and start new careers. Obviously taxation should be reworked too, if AI and robots replace lots of jobs in some sectors. Profits produced by efficiency gains shouldn't be concentrated just among few billionaires.
Kids today couldn't imagine how people used to live just 100 years ago, like it was the dark ages. People from that age would probably look at kids 10 years ago and think, these poor children! They don't know how to work hard! They don't know anything about life! They're glued to these bizarre light machines! Every age is different.