Stator and flywheel