An intruder gained access to a system that controls the water treatment plant in Oldsmar, Fla., and tried to add excessive amounts of sodium hydroxide to it.