GM and other automakers are closely monitoring how tariffs on vehicles and parts from Canada, Mexico and elsewhere will impact their business.