AI is driving mass layoffs in tech, but it's boosting salaries by $18,000 a year everywhere else, study says | Fortune