>>55093444In a sense, Turtles all the way down and all that jazz, I'd say it seems more like extract and then mix to what it wants going by how the dex explains it, less Generator and more Convererter.
My hypothesis is that if say a Pidgey used gust on a Terapagos the shell would absorb that energy and converts it into Tera (Flying) shard, said shards can then be used by Terapagos or another Pokémon (Like Bagon) to gain Flying-Type Energy (Allowing Flying type Terastalizing), add in something like en-massing vast amounts of energy from all the types and you get Stellar Energy and the reality/timeline warping stuff.
Basically Terapagos itself does not seem to generate Infinite Energy, but it extracts and converts already existing energy into a higher concentration (IE:Tera Crystals) that is easier to use, ergo the Tiberium comparison, the main trait of Tiberium (aside from fucking over the planet and humanity) was that it effectively made mining things redundant since Tiberium could just suck that shit right up with no need for digging.
The clincher of course is that the Pokémon world is utterly abundant with Energy (Rose spazzing out in SwSh was specifically about Dynamax Energy) so it isn't actually hard for Terapagos to amass those quantities of energy needed for shenanigans (and it is why the Professor event is at the mountain lake explicitly mentioned to shown things from the past (Dead people) and has correct (crystalized) energy available for use for that feat, it probably can't do it at will without). Though i will admit im not watching the anime, so i gues Terapagos could pull some bullshit without a available "battery" there.
Anyway, this actually posits that Terapagos may have a relation to Necrozmas defeat if we consider how Z-Crystals are implied to been its stolen energy crystalized, but that is some "The Tower Beasts were Eeveelutions" fanwank theorizing on my end.