Amazon is selling its cashierless technology called “Just Walk Out” to outside retailers. CNBC gets a behind-the-scenes look at how the technology works.