Flywheel energy storage mechanism for electrical equipment