The retailer is buying Alert Innovation Inc., a maker of custom-designed robotic system that picks customers’ grocery orders, the companies said Thursday.