China for the first time became Germany's most important trading partner in 2016, overtaking the United States and France; data showed on Friday.