Beijing’s export controls on rare earths and other niche metals are distorting markets and fuelling resource nationalism