US automaker Ford said that it took a $900 million tariff hit last year due to a last-minute change by the Trump administration.