Sh** happens, from time to time, to a relatively small number of P-car owners (those with the M96, specifically). OTOH, you've had one culprit addressed already, the IMS bearing.
Like much of life, it's a crapshoot. You do what you can to prevent problems (TONS of info on this forum on this...SEARCH). After that, you learn to live with the possibility of catastrophic failure or you sell the car.
Many of us have hit the 100K mile mark with these cars. My daily driver during the winter (a 2007 Mazdaspeed 3) has given me much more trouble than my 2001 S. Knock on wood