Hyundai denied that the investment was a response to an intensifying Twitter assault by Mr Trump on global automakers for producing cars and investing in Mexico rather than in the US, but rather a reflection of the importance of the US market.