the rear shock rubbers (if it's a three series)

It's a Z3, which has the same suspension as the older E30 3-series. The best way to describe the sound, which has only happened twice, is ... imagine you just hit a modest bump and your entire transmission just unceremoniously fell on the pavement. Thunk! You hop out of the car, looking for car parts on the ground, only to find none there.