The key to Amazon's line-less retail strategy is low-cost cameras and sensors and exceptional cloud computing power to interpret the data in real time.  The strategy may have been inspired by driverless car technology.