Tom, was your M3 a first year purchase, or the FX?  Problems?  
I think I was very, very brave getting the 2007 X5.  Besides from having to have the battery charged (when they prepped the car, it wasn't done)...it's been great.  A first year BMW with no issues, is a very big accomplishment for BMW