China's reserves, the largest in the world, fell by a record $513 billion last year after Beijing devalued the yuan currency.