Judging by the price tag of 9.1 Ksh/kWh listed on https://en.wikipedia.org/wiki/Energy_in_Kenya (and looking up historical exchange rates because of the date of the link and their persistent inflation), that's about 0.085-0.090 USD/kWh.
iirc it works well in Kenya because the thermal gradient is really steep and the heat is right near the surface. I don't think that's common around the world. Local expenses (labor, etc...) are also cheaper than in many parts of the world.
Geothermal is however one of the electricity sources with the fewest negative externalities so definitely should be pursued where possible.
Touring the geothermal at Hell's Gate Park in Kenya is wild. If you've seen The Lion King, it's the inspiration for "the shadowy place over there" where the hyenas live.
Extract enough heat from Earth and Earth loses its magnetic field and then its atmosphere and oceans (from the effects of the solar wind) which sounds like a negative externality to me.
While it's true we would die first, I bet we'd transition to other power sources even earlier. If we ever get fusion working reliably, that will probably be more convenient than geothermal, and at that point the geothermal plants will start slowly going defunct with no replacements.
If you haven't done a calculation incorporating an estimate of the heat content of the Earth's interior, then you cannot know whether humanity will be dead by then.
In theory the cost of the whole thing blowing up should offset this investment costs but Don't Look Up (2021) convincing the folk about potential natural disasters.
This is more like insurance. If you move to the mountains, you have to pay for special fire insurance because mountains have forest fires.
The U.S. is an extremely productive economy with at least one enormous cyclical natural catastrophe attached to it. If this natural catastrophe is preventable, and the costs of prevention are outweighed by the costs of losing the US economy, then it's probably worth doing.
I just assumed that it was one of those things that isn't economically or technically feasible.
Don't mistake price of production and selling price.
When it takes times to construct additional production, you can sell the electricity at very high cost but have a low production cost.
Most people want cheap power. Anything over around 20 cents a kWh makes it uncompetitive to fossile equivalents (e.g. wood / oil / gas heating).