Flywheel Sports Inc., which offered spin classes at fitness studios around the country, has filed for bankruptcy.