A Year After Amazon Devoured Whole Foods, Rivals Are Pursuing Countermoves