Deal, worth up to £1.3bn, shows Waymo’s ambition in developing driverless ride-hailing service.