HONG KONG (MarketWatch) - China's foreign direct investment in July contracted 8.7% from a year earlier, according to the data released Thursday by the Commerce Ministry. China reported FDI inflows of $7.6 billion for the month, bringing total inflows for the first seven months of the year to $66.7 billion.