Volkswagen's software unit Cariad will spend more than $2 billion and take a 60% stake in a new venture with Chinese technology firm Horizon Robotics.