The technology was tied to a record 38,579 U.S. layoffs in May, accounting for 40% of all job cuts for the month.