US tech companies cut 38,000 jobs in May, the most since 2024, with AI blamed for 40% of all US layoffs.