Although foreign companies continue to build up investments in China , the pace of growth has been slowing .