I saw Transformers One and it was amazing.
Planet formed according to something like that described in Kabbalah. Evolved robot population are slave miners for energy, that is given to the true planetary rulers. Population becomes aware of the bargain their false ruler made with the true ruling class of the planet. All the robots become aware of their natural abilities and that they are one. Optimus becomes an ascended master and is resurrected. Leads to victory over false leader and planetary slavers and ruling class.