RE: Where I once worked they made many train their foreign replacements before firing them.
I gather you worked at Disney? because that’s EXACTLY what they did.
Just a few weeks back, the University of California at San Francisco did the same thing too. Nearly 80 American IT workers were let go, but they had to train their replacements before that happened.
Engineering should NOT be a profession of choice in America. All you engineering students, change your curriculum.