Amazon will spend on the things that make its customers loyal: warehouses near their homes, original video shows to watch and devices that make their lives easier.