Of course, there is a risk there that we will hit some fundamental efficiency limitation that simply makes it not worth it. But st least it's not known to be a physical impossibility, like cold fusion is believed to be.
In fact, more than cold fusion, I think there is a reason to hope for warm superconductors at some point in the future.
Basically there's lot of research into how to do containment that's far more efficient than Tokamak reactors that suffer from the problem you mention. A 100 years is a really long time to bet against given how the pace of our innovation is constantly increasing, let alone 3000 years. Keep in mind that thorium has 3x the capacity & we don't even have reactors to process that so even "regular" has a very long shelf-life. Uranium scarcity isn't a thing when compared with global warming & meets our energy needs drastically better than solar/wind & even hydro while having a much more compact ecological foot-print.
I believe the main losses are plasma instabilities, rather than the energy cost of the containment. This is somewhat secondhand knowledge though, I merely used to hang out in a pub with someone who worked in this field.
While I too am hopeful that humanity will be able to crack cold fusion in the next few hundred millennia, it should be noted that cold fusion is something which has simply not occurred in our universe before. Yes, fusion is the most commonly-occuring process in the universe, but all of it runs hot. It is possible that net-positive cold fusion might never come to pass and we'll have to go back to solar panels so we can exploit the output of already-existing hot fusion from the Sun.