China has pledged to give $500 million to the WHO, setting Beijing up to become the group's most powerful member country.