What are these jobs that you think will resist robotic automation, and how many of them will there be? Realistically a small percentage of people will ever be programmers in our society; we just don't need that many.
Look, we're entering a period of history where the number of tasks requiring human labor will only keep decreasing. This will lead to a growing class of people for whom the labor market cannot provide a basic standard of living.
If a stronger welfare state isn't the answer to that problem, I've yet to hear what is, exactly.