GM is leaning into artificial intelligence to accelerate the development of its autonomous driving technology, with nearly 90 percent of the code written by AI.