Citizens are not being replaced as they are not being killed, they are not being shipped out of the country.
But yes, employees have been replaced by both machines, and outsourcing.
However, companies, if they want to survive, will always hire the best worker for the job at the best price.