From what I know this only really happens with the A and B-Class and the sandwich concept, and for the smart. Because the motor is placed differently in the bay, and is already half under the car. It is not as easy with a normal car.
MB designs its motor to deform themselves, and there is a very strong piece of metal separating the motor from the passenger cell. This piece of metal is designed to make the motor go under the car, but it is not always enough and a big block is harder to handle....
In case of a very very hard crash, a too big motor like an I6 can cause injuries because the front part of the car can't deform enough, because the motor is too big. So either the car absorbs schock and your knees receive the motor, or it does not deform enough and you deform yourself...
In case of AMG, the front structure of the car is reinforced, to handle the bigger and heavier motor. But I am not sure that an AMG offers exactly the same safety as a regular Merc.
That is also a reason why BMW often performs poorly in crash test: the motor is too long and placed further back in the engine bay. Better for the weight balance...not for the safety. MB has not the same weight balance...but is much safer. Question of priority!
