China has accused the US of making "unfounded and false allegations" about its role in the fentanyl trade to justify tariffs on Chinese products.