Star Trek: The Animated Series
The Magicks of Megus-Tu
S1 E8:
The Enterprise goes to the center of the galaxy, where they find a race of powerful aliens who once fled Earth.