The auto industry’s relationship with President-elect Donald Trump took a dramatic turn Tuesday as Ford Motor Co. decided to shift investment dollars targeted for Mexico to the U.S., while Trump threatened General Motors with a tax on some imported small cars.