It sounds like you think no technological advances will make the world richer in the long run. I politely suggest that the past century of economic growth shows problems with this argument. I also think that, while jobs are important for prosperity, the jobs of mathematicians are a minuscule fraction of a percent of the total.
So, you're arguing that just because mathematicians are a minuscule, it doesn't matter for prosperity? Because, if so, that is an insane take honestly.
It is the very humanity that is absent in all of this. The power is still in the hands of a very few. I feel you're dismissing this with a grandeur vision of AI developement.