Direct investment by foreign companies in China in the second quarter totaled $4.9 billion, an 87% decrease on the year, the largest drop since 1998, when comparable data first became available, according to figures released this month by the State Administration of Foreign Exchange of China.