The country behind the first industrial revolution is reckoning with the problem it created