AI-powered water heater could banish cold showers and carbon pollution