Cox’s first equity investment in an automaker follows other major investments from Ford Motor Co. and Amazon. Electric vehicle maker Rivian and Cox Automotive also said they will explore “partnership opportunities in service operations, logistics and digital retailing.”