Aren't most big military ships nuclear powered? Submarines were diesel/electric hybrids until nuclear came into the picture there.
Fighter jets all use gas turbine engines that produce astronomical amounts of thrust (burning an equally astronomical amount of kerosene) and weight reduction is of the utmost importance. A battery and electric motor that could produce a tiny fraction the power would weigh more than the whole rest of the plane. Besides, military and efficiency are oxymorons.