Delivery app DoorDash will purchase rival grocery delivery service Instacart for $17 billion, the company said on Thursday, further consolidating the delivery app market.