They have many choices. Off the top of my head: accept the higher loss, raise prices on in-store purchases of those items to account for the higher shrink, authorize their security guards to forcibly stop and detain people, put vending machines that unlock with a payment card (deposit) rather than employee-operated locks.
I don't know why you're continuing to absolve the well-capitalized corporation of responsibility for their choice of dumping externalities on legitimate customers, except as part of some gish gallop of reactionary talking points that lash out with blame for everyone but those directly responsible for the frustrating conditions.