A supervillain builds a bunch of robots to fight a war against everyone. The countries of the world will have to cooperate and make alliances to beat them.

Plus, now it would actually be moral to build cool weapons.