Bacterial outbreak in China infects thousands of people after factory leak