How China became a country of innovation