DoorDash stated on Tuesday it has agreed to purchase its U.K. rival Deliveroo for about £2.9 billion (round $3.85 billion).