Foreign direct investment in China fell slightly in the first five months of the year .