By investing in the main players in the ride-hailing space, the world's biggest car brands are hoping to secure a place in that future.