20 years ago I worked for a grocery company that introduced self checkout terminals. Corporate messaging was that no jobs would be lost. They now run 6 self checkouts in most stores with a single clerk managing them.
It may be true that they didn’t directly let anyone go, but even if they just let attrition do the job, those positions are gone and never coming back.