In recent years, the development of artificial intelligence has rekindled the old fear that machines will replace humans.