Chinese companies had invested $34.8 billion in the United States by the end of 2011 in industries including auto parts, agriculture and steelmaking, according to data compiled by Derek Scissors, a China analyst at the Heritage Foundation in Washington.