Gartner  develop the Digital Automaker Index to track the software capability of different auto makers.  Here is the ranking, which puts Tesla and Nio on top.