It wasn't at all. There's still a serious problem with shoplifting. Wal-mart would not be removing self-checkout if this were just a PR campaign.
At my local CVS, they just started locking up the bulk candy. You don't take the the sales hit and the expense of those locking cabinets unless you have a real shrinkage problem.