There is no way to guarantee in advance what pure mathematics will later find application. We can only let the process of curiosity and abstraction take place, let mathematicians obsessively take results to their logical extremes, leaving relevance far behind, and wait to see which topics turn out to be extremely useful. If not, when the challenges of the future arrive, we won’t have the right piece of seemingly pointless mathematics to hand.
Peter Rowlett, "The unplanned impact of mathematics", Nature 475, 2011, pp. 166-169.