Complex sentence: Jobs returned to Apple in 1997 when it purchased NeXT (the NeXTSTEP platform would become the foundation for Mac OS X) and eventually became Apple's CEO, bringing the failing company back from near bankruptcy to profitability by 1998.
Split into simpler sentences: Jobs returned to Apple in 1997 when it purchased NeXT (the NeXTSTEP platform would become the foundation for Mac OS X). Jobs eventually became Apple's CEO and brought the failing company back from near bankruptcy to profitability by 1998.