What's going to happen to the not so smart people in our society? These are the people who can't learn not because of a lack of educational tools but because they just can't/won't become more smarter.
Keep in mind too that software developers are a bit myopic about technology; a great many people are productive and contribute to society in jobs that do not require software!
Suffice it to say, technology will evolve to accommodate (barely) the lowest-common denominator of intelligence, which has a significantly higher rate of replication than the smart people have (which is so low they will die out).
In other words, many believe the not-so-smart will do better than the "more smarter" people, by many measures.
The people we need to worry about then are the ones who don't have the motivation, environment, resources or courage to reskill.
Particularly in this day where employers hire only employees with the exact skills they need, a symptom of employer/employee loyalty both ways disintegrating, its going to become more and more important for companies to have reskilling programs, and for government to incentivise that sort of behaviour.
What will happen to the people who still don't reskill? Given that robotics is going to destroy most of the unskilled labour market, it doesn't look good
As robots become more and more general-intelligent with cheap maintenance costs, creating their specific "inner robot market", they will drive the costs of many human labour/service forms even lower making many current human-oriented job obsolete.
Without egalitarian welfare solutions, such as basic income, we are very much fucked.