Amazon is accelerating efforts to break into a retail sector considered an oasis of stability in an industry upended by the sort of e-commerce pioneered by the Seattle giant: grocery stores. And the retailer is now relying on bricks as well as clicks.