China, the dominant producer of rare earths, has hit back at US tariffs this year by placing restrictions on their export.