Greg is basically a nice guy who can be a little bit of a douchebag when he's stressed out. He's also a huge fan of My Little Pony. (And Luna is his waifu.)
When he created an Equestria simulation using the most sophisticated hardware available and running the most advanced self-improving AI software in the world, he had no intention of sparking a battle for the survival of human civilization.
Oops.