China is the world 's second-largest energy consumer after the United States , and has become a major investor in Sudan as it seeks foreign sources of oil .