For years, Amazon (AMZN, -0.79%) has been the specter looming over retail, as once-dominant department stores and specialty chains fell on harder and harder times. But up until now, the e-commerce titan has managed to irrevocably alter the industry without making much of a dent in retail’s biggest moneymaker of all—the $800 billion grocery business.