Very, very common problem with the 04+ 545/550/745/750/X5's. See it all the time after idling for some time.
Different mechanics will tell you different things, I've done some reading on it and you can drive the car this way should you just want to run it into the ground, but repairs are costly and in many cases, the issue returns.