In regards to hydraulics, a electronic shut-off valve is used in-line on the distribution block for the specific actuator. When flow becomes too high compared to the requested valve (i.e. a hose leaks too much or splits open) then the switch kills the pump or alternatively switches the pressurized lines to return vent to tank/sump. This is a fast reacting system so there is essentially near-zero time when the leak is allowed to continue. That being said, this is how my particular applications work and anyone with a broader knowledge would be welcome to add to this! The downside to this is that when the leak happens fluid will still spill out all over the operation area. Hence Disney choosing electronic actuation in Japan.
Source: Component/Systems Testing Engineer (I use electronic and hydraulic actuation systems every day)