General Motors (GM) will rely on Nvidia’s (NVDA) artificial intelligence expertise to build its next generation of cars.