I was told by a national marine officer (serving on small to medium size surface vessels) that water spray (as in droplets) can be used in fires of electronic equipment without collateral damage.
However I guess the volume of machinery needed to turn water to droplets would be massive for an aircraft.