Thames Water has been hit with a record fine due “to a significant breach of the company’s legal obligations”