Automation has rescued millions of people from jobs that are dangerous, dirty, or just plain drudge – and we’re just at the beginning of the AI revolution. Dr James McDermott ponders the critical issue of what we will do when machines do lots more of our work.