Machine producing power when water drives a rotor