Apple was bleeding money in the early 1990s, had gone through CEOs so much you’d think the CEO chair had an ejector button for it. Microsoft innovated better than Apple did with Windows 9X and NT and true preemtive multitasking while MacOS didn’t multitask so well.
Next, had taken *BSD Unix and the MACH kernel to make NextOS, which merged with MacOS to make MacOSX. Next had taken over Apple as Steve Jobs came back to make the iMac, iPod, iPhone, iPad and other products to not only save Apple but save up billions in case Apple needed it again.
Webobjects was a great idea, but nobody knew what to do with it. Microsoft had ASP and the free and open source community had PHP and Perl. Eventually the free and open source projects took over, and Apple quit making Webobjects.
Apple went from the PowerPC to the Intel CPUs, and made ARM based iOS devices that share the kernel and core of the OS. MacOSX is renamed back to MacOS as the Classic MacOS 9 and under are no longer supported, even if people still use them in retrobatlestations and the like.
It was 20 years ago in 1996, that Apple was saved by Next. Apple almost bought out Be Inc and BeOS. Not sure how that would have ended.
Tim Cook runs Apple now as CEO, just the iPhone and iPad revenues alone could keep Apple going, and the Mac line keeps on changing to the point that they forget what their target market is like. The iPad Pro or the Macbook? The Macbook has no Apple Pencil support or touch screen.
More people are switching from Macs to Microsoft Surface Tablets. They need a Mac with a touchscreen and pressure sensitive pencil or pen.