Tech layoffs have surged to their highest level in years, but cuts attributed to AI may be driven more by investment in the ...