We get rid of them by making them believe that it is for their own good. Overpopulation, and mostly useless, is something that is too costly economically.
Socially, too, it is much better when the human machine comes to an abrupt standstill than when it gradually deteriorates.