Ok, this isn't what i think, it's what happens in the leaked script -
Autobots to die: jazz
Decepticons to die: every last one of them apart from starscream. bumblebee kills brawl, prime kills barricade, and all the rest, megatron included, are killed by humans.
I mean...Megatron actually die? WTF???