The investment comes as Chinese and US tech giants are competing to make driverless taxis a commercial reality.