How Companies Extract Engineer Knowledge Into AI Before Layoffs