DoorDash’s Instacart deal shows delivery apps investing further into retail discovery, ad tech and AI-driven shopping.