By the next morning, both the machine and the family's home is in ruins, and chemicals from the destroyed machine have severely polluted the river.
Both the machine and the family's home is in ruins. This is by the next morning. Chemicals from the destroyed machine have severely polluted the river. This is by the next morning.