)
I tend to think of it as, like, a benevolent Skynet. Something that was originally created by humans (or ponies in this case) but rapidly grew beyond their understanding and became vastly more complex all on its own.
There are plenty of stories about humanity creating something that eventually surpassed us. The Tree is just a rare positive version of it.