AI is the leading reason for job cuts, with 38,242 positions eliminated in May. But the full picture is more complicated than it looks.