Rising domestic demand helped manufacturing activity in China to expand at its fastest rate in almost four years in December, although rising input costs underline sustained inflationary pressure.