DoorDash is buying Instacart for $17 billion, adding more grocery delivery to its growing arsenal of services.