AI is the leading reason companies have cited for job cuts so far this year—and the tech industry is the biggest culprit.