Facebook and Twitter said they had shut down nearly 1,000 active accounts linked to China.