Artificial intelligence offers a powerful way to automate grocery shopping and predict what people might buy next, according ...