Grocers trying to compete with the threat of a combined Amazon and Whole Foods will have to make their stores more appealing, leverage their locations to offer delivery and do a better job of collecting shopper data. They may also need to seek innovative partners of their own.