China threatens ‘resolute’ retaliation over the US robot ban, and it holds the rare-earth card