Spirit Airlines has ended its 34-year run, closing the chapter on a discount carrier that reshaped U.S. air travel.