Again, such is transformers. I doubt that most of the writers are particularly wise in the ways of science, and just do whatever they think is cool.
Black hole grenades? Robot-gods and mechanical eldritch monstrosities whose blood revives the dead and turns the living insane? A giant building block that miraculously brings inert technology to life? Yes, it's all utterly ridiculous and impossible. But that's just how things work here, and Star Trek-like technobabble and good ol' Space Magic are often perfectly viable excuses for it all.
Naturally, there are some limits in place so that a half-decent story can still be told, believe it or not, but in many cases Transformers does play fast and loose with science and logic, and that's just how rolls.