Hyundai Motor's Elantra has achieved cumulative sales of 2m units in the US, 22 years after the automaker entered the market.