Most layoffs attributed to AI are in anticipation of its impact. Such waves of panic can push economies toward recession.