Here's my proposition. The Transformer race itself are Von Neumann probes. Self-replicating starships sent to explore and colonize. Here's the interesting part. The Allspark is replicating seeder probe/ship meant to create self-replicating machines. Self-replicating machines that are Autonomous Synthetic Life. Now in Transformers these self-replicating machines or probes have contradictory nature. One are Bracewell probes, these are Von Neumann probes that lie dormant, silently observe, attempt to make contact with alien civilizations. These are the the Autobots. The other are Berserkers. Berserkers are probes programmed to exterminate other lifeforms on other planets. Essentially WMD. These are the Decepticons. Hence the Primes credo to protect life makes sense also why Jetfire said Decepticons if it were up to them they would destroy the universe. So who created the Allspark? I'm thinking another machine race. Who created them? Who knows.