G.M. Wants to Drive the Future of Cars That Drive Themselves

Under its chief executive, Mary T. Barra, General Motors is redirecting energy and capital toward a race with Silicon Valley to create self-driving cars.