Nio has spun off its chip unit, Shenji, into an independent company to boost margins.