Usually companies do that by closing an entire factory and/or shifting production offshore. The performance of any individual at a location that is closing is irrelevant to the decision makers.
Under Intel both happened, sites were shut with people relocated to the main hubs (Portland in the US, Poland in Europe, somewhere in India too) and anyone with 'bad' (less than the median grade) were laid off too.