nostr:npub189nhq0cw33243htm08c53vjvgc5letv7d9sgqtgqsn6fnx6dv8zs0fsatx People can be replaced with machines but then you have to dispose of all the surplus, non-productive people. In the 19th century, colonisation was the answer. Many of the convicts Britain sent to its colonies were farm workers made redundant by mechanisation, who'd resorted to petty crime to support themselves. Other unwanted people like the rebellious Scots and Irish were given subsidised passage to the colonies.
Not so easy to do now, though witholding welfare and health care can raise the death rate, as can inhuman working conditions like requiring people to work outside in the hot sun with no water breaks. These kinds of policies see human life as disposable.