By 2020, AI will generate 2.3 million jobs, exceeding the 1.8 million that it will remove, Gartner said in a report.