Amazon found an inexpensive route into brick-and-mortar retail, and it could be a crucial weapon as it competes with Walmart (AMZN)