AI layoffs may be backfiring on companies