Fear of losing jobs to machines growing with rise of artificial intelligence: Study