G.M. produces the Malibu at a plant in Fairfax, Kan., and will continue to manufacture the car until later this year, when it plans to retool the factory to make a new version of the Chevrolet Bolt, an electric car, and the Cadillac XT4, a luxury S.U.V.