China recently used its dominance over the global supply of rare earth elements for leverage in its trade dispute with the United States. That had an impact on Germany, which needs those metals for weapons production.