I think you are mixing things up. Apple was experiencing a sales slump but was far from dying in 1985. Jobs got ousted in a power struggle between him an Sculley who was CEO. In 1997, when Jobs returned, Apple was reportedly months away from bankruptcy, and only survived because of a cash infusion from Microsoft.