For years we've been warned that technological advances and artificial intelligence (AI) are set to sweep people out of work. But when we think about whose jobs are really under threat, the answer isn't quite so simple.