Microsoft invested $250 Million in Apple after it already had a multi billion line of credit.
On top of that, Apple turned around and the same quarter spent $100 million to buy out PowerComputings Mac assets. It was three years and much more than $150 million in losses later that Apple became profitable.
And that $250 million was also partially to settle a lawsuit over Microsoft stealing QuickTime source code for its own media player. This is separate from the look and feel lawsuit.