I can’t find where I read it, but I remember it being something like: if all of humanity consumed the same amount as an energy hungry American and then doubled it while getting all of its power from geothermal then we have almost tapped 1% of the crusts potential, rounding up.
I did some looking around. Looks like I was a factor of 10 off. As in- not 1% but 0.1% and that could be sustained for millions of years
https://www.contrary.com/foundations-and-frontiers/geothermal
https://www.energy.gov/eere/geothermal/geothermal-faqs#%3A~%3Atext=4.5+billion+years.-%2CThis+heat+is+continually+replenished+by+the+decay+of+naturally%2Cessentially+inexhaustible+supply+of+energy.
There is also a great pdf over at www.worldenergy.org under their geothermal - world energy council that is a little old but still points out the math on just how immense the energy output of earth is. We could each run our own small AI data center on geothermal power and the earth would still have extra. And we are only talking about tapping into the very top of the crust.