Tariffs on imported vehicles took effect Wednesday, a policy that President Trump said would spur investments and jobs in the United States but that analysts say will raise new car prices by thousands of dollars.