DETROIT—GM is planning to invest about $332 million at four of its U.S. powertrain assembly plants to produce new engines and transmissions. MORE