The US Navy has a mechanical battery that could power laser weapons

A small mechanical battery based on spinning flywheels can deliver short bursts of high power, which the US Navy could use for energy weapons or railguns