I should hope the grad students are doing maths because they're enjoying it and because it trains their brain. Their career prospects are probably fine compared to the average grad student anyway.
We do live in a capitalist world, you can't pay the rent in enjoyment.
problem is: they need to solve a novel problem using only brain matter??
This is the optimistic point of view. Pessimistically, the world needs a handful of mathematicians and the rest are checking out your groceries.
I got ostracized at the math department for asking about applications. It's very much an intrinsically motivated activity, from what I gathered.