If it's the end of a trilogy then there's no reason not to kill anyone. And aren't the bad guys in particular supposed to die? Transformers die and come back to life all in various franchises all the time anyway. It's not like Hasbro hasn't let a Starscream die in a Transformer movie before. This is meaningless.