Did any mathematics done by G H Hardy turn out to be quite useful in the end?
Ironically of course the answer is yes.
Ironically of course the answer is yes.
It's also very risky to frame it that way, because that immediately leads to the idea that mathematical endeavors should be judged and funded according to their expected utility. That's product development, not research.