FWIW, tipped workers typically work for an hourly wage lower than the minimum wage, and are expected to earn the rest from tips. Most of the jobs you're talking about are not in the tipping wage category, and management just has to monitor carefully. Fast food has tons of computers to do exactly that, and even department stores have secret shoppers and cameras to observe staff. Grocery stores have crazy levels of cameras to monitor staff; I'd say about 70 percent of the cameras are pointed at the cashier (the remainder at you as you wander the store to calculate dwell time and deter theft). Trash collection I don't even know the company behind it let alone ever seen the driver. I assume they have GPS and cameras now that communities have moved to those machine arm trucks.
Tipping is a sort of economic hack; you the customer are responsible for evaluating service, and punishing inept or even just lazy service. You're the final buyer of the service, so in a way it's fair; just atypically lassiez-faire method versus the usual social hierarchy of companies paying managers to supervise service workers.
I figure if tipping dies, it will be because there's a separate economic hack undermining it. When you live somewhere where restaurants start and fail every month, the cost of a bad tipper reputation is pretty low. And if you adopt an upfront tip model to combat this, you're people's losing good faith as the fee-for-service model no longer applies -- which this article directly discusses.
All of which puts us in the awkward position of trying to figure out whether the lunch spot we visit is paying its staff a tipped wage without any actual service -- no bussing, no setting, and just a beeper to let you know you should grab your food.