The Seattle-based company is riding a wave of retail sales moving to the internet, and its Netflix-like video streaming is bringing new customers to its subscription Prime service.