When DoorDash began seeking funding last fall, two big foreign investors—SoftBank Group and GIC—were interested, giving the startup roughly $300 million more than it expected.  