Challenger, Gray & Christmas said tech layoffs are rising due to artificial intelligence — and are likely to keep happening.