A senior Chinese official has warned that the "clock is ticking" to avoid a US default that could hurt China's interests and the global economy.