I thought that the M engine has different internals than the standard xDrive50i engine.  Maybe I am wrong, but the M definitely have different manifold design and a very high boost.  Anyway, here is a good read about the M engine.

http://www.ausmotive.com/2009/04/05/bmw-x5m-x6m-and-a-heart-of-gold.html