SAN FRANCISCO—General Motors’s venture capital arm has invested millions of dollars in Oculii, a startup maker of software for radar sensors used in self-driving cars, Oculii co-founder Steven Hong said. GM can use Oculii’s low-cost software to boost the resolution of radars and scale up its partially automated vehicles and full self-driving cars, he told…