There is also (at least at the original one) plenty of staff, just they are helping people through the gates and restocking shelves.
You could still shoplift with a fake Amazon account, but this would be way above the effort level most shoplifters go to, especially to steal a sandwich.
Apple has done the same thing forever with mobile checkout. They make it work by crazy margins, plus a customer base and voluntary compliance.
Retail employees have limited ability to do anything about shrink other than increase friction anyway. I worked at a big electronics retailer in the 90s that would get robbed blind, and there was very little you could do. The only exception was when a gang of fake Asian tourists raided the place, and we “helped” by being interrogated by the police, because they suspected than an employee tipped the gang off about inventory.
The danger is that these new outlets keep peeling off more of the mass-affluent and working class customers that keep the other stores profitable. Just as Sears and Macy's anchored the 250 other stores in a mall, the supermarket anchors alot of other business. So we went from 80% of goods sold by tens of thousands of retailers in 1970 to dozens/hundreds in 2000 to potentially 3-5 in 2030.
There is no need to catch these people, they're customers, not thieves.