AI was the leading reason cited for U.S. job cuts for the third consecutive month, with 97,006 layoffs announced in May, according to new data.