Earlier quoted context omitted.
Why geothermal is not renewable? Earth is not going to cool its magma soon enough
Geothermal is powered by fission Uranium and other heavy atoms deep in the Earth. Solar is powered by fusion of Hydrogen in the Sun. I'd use the same classification for both.
Geothermal hotspots do not reheat by fission or otherwise at the same speed that we extract their energy (if they did we'd be in trouble if we weren't extracting it!).
As I mentioned in another comment, build a Dyson sphere of solar panels around the Sun and it will last just as long. Build an all-Earth geothermal plant and the heat will be depleted.