Regulator Ofwat said Thames had ‘let down its customers and failed to protect the environment’ as it issued the water industry’s biggest ever fine.