The proliferation of AI has understandably set off alarm bells for workers concerned about losing their jobs to a computer.