It was a benevolent AI takeover. It just required some robo-motorcycles with scythe blades to deal with obstacles.
Like the AI in "Friendship is Optimal", which aims to (and this was very carefully considered) 'Satisfy humanity's values through friendship and ponies in a consensual manner.'