The supermarket giant has been forced to explain its in-store devices after fears they were spying on customers.