The Transformers: The Movie Edit
The best-known example is from The Transformers: The Movie, in which Optimus Prime dies after being shot a couple times by Megatron. Famously, his body turns gray as he dies. (Urban legend says his body also crumbles, but no such footage is known to exist.)