DETROIT — General Motors plans to add hundreds of employees to its software-defined vehicle team by the end of this year.