Ride-hailing group’s $2.65bn deal will pit it against Amazon in the race to deliver a wide array of goods