Sam’s Club has been trying to differentiate itself from Costco and other rivals with technology.