How valuable is a retail cashier? Do they even matter?

Big boxes and chain stores have spent over a decade turning this role into nothing more than an input device in a sophisticated, expensive chain of technology. They are also doing a fine job of replacing paid employees with paying customers.
Personally, I struggle with paying for the privilege of ringing up my selections and making the payment myself. I know, I do it on Amazon, darn one click. You got me…