DoorDash agreed to acquire Instacart in an all-stock transaction valued at $10.2 billion. The merger aims to combine the two major food and grocery delivery platforms to gain greater market share and operational scale.