I suspect Dota 2 is a lot easier than Starcraft. I watched a video of that AI, and it was mostly tactical optimizations ("micro" in Starcraft-speak). The AI would position its unit just right, aim perfectly, optimize for maximum damage. The stuff machines are best at.
Dota 2 is tactical, so having perfect micro is enough to win at least simple matches. Starcraft 2 is a different story.