Wdym? self-checkout definitely lead to fewer supermarket workers being employed.
This is how the economy often works. The loss of one kind of job to technology lets the business grow by using the same number of staff, or often even more, to serve new opportunities/markets/products/services.