The Autobots and Decepticons once dueled it out on Earth, with the Transformers heroes getting a key upgrade from the blood of Wolverine. However, Optimus Prime and the other Autobots only resorted to using Wolverine's blood to fight back against Megatron and his forces, who just so happen to use Spider-Man's blood to give themselves a power boost of their own. The powered-up Transformers would battle it out as the Avengers aided Optimus Prime's team.
New Avengers/Transformers from Marvel Comics by Stuart Moore, Tyler Kirkham, Sal Regla, Anette Kwok, and Todd Klein featured the Decepticons attacking Earth with a structure called the Array - which launched a wave of energy that altered the minds of those close by. To fight back and stop a war between Latveria and a neighboring country due to the Psycho-Prism, the Autobots and Avengers teamed up to stop Megatron and his army. However, Megatron is even deadlier after taking a serum with Spider-Man's blood. In response, Optimus Prime powers himself up with an upgrade using a serum from the blood from Wolverine.
In the crossover series, New Avengers/Transformers #4, Spider-Man breaks free from capture in The Array, and joins the Avengers in trying to take down Megatron. Iron Man unleashes his Anti-Transformer armor, which matches the size of Megatron, but ultimately fails as the villain counters it with his new powers with a blast of energy decapitating the suit. Spider-Man returns to the Transformers and volunteers his blood to build a serum to power up the Autobots, but when Wolverine crashes the party, he suggests upgrading by taking his mutant blood. The Autobots thank Logan for potentially saving everyone, to which Logan responds, "peachy."
Using Wolverine's blood to upgrade their powers would eventually help sway the battle in the Autobot's favor. Wolverine would take out the mind-altering device in the Array, as Optimus Prime, Luke Cage, and Spider-Man defeat Megatron. While it's hinted the Autobots gained Wolverine's healing factor after taking the serum with his blood, the comic doesn't explicitly show them getting healed. However, considering it helped turn the tide against Megatron, there's little question Wolverine's blood made them stronger.
Spider-Man and Wolverine's blood being used to power up the Decepticons and Autobots shows how the heroes can be used as weapons in more ways than just their physical form. As weird as using Wolverine's blood to power up the Transformers was, it ended up being the missing ingredient in stopping Megatron on Earth. It's one of the more bizarre power upgrades, but it's hard to argue its effectiveness.