This is anecdotic but I already worked on a company who fired staff to hire "specialized" consultants who were cheaper and more specialized, only to see their former members to join as consultants.
After years of this practice they also concluded there was no saving nor benefit on the strategy but couldn't rehire the people