Mathematicians who do work on "real world" problems are mostly doing so with theoretical physicists, genomicists, and cryptographers. None of these count as what people consider valuable other than because they are hard.
That said, few 50 (or even 40) years ago would have predicted that completely abstract number theoretical computations about primes, discrete logarithms, and elliptic curves would be the foundation of our monetary system.