The president-elect has said he could impose punitive tariffs on car imports from Mexico, a move that could hurt factories and workers on both sides of the border.