Welcome to capitalism? They’ll need to retrain at their own expense. Hopefully they’ve saved enough to provide shelter, food, and health insurance for any dependents they may have acquired along the way. The destruction part of creative destruction is that pretty rough.