Over the next 20 years, the jobs most likely to thrive will combine strong demand with skills that are hard to automate.