There is a thing in economics called "curse or resources", which is when a country discovers oil, diamonds, or some other rare mineral that can be easily recovered. One would think that's a good thing, because it brings jobs and wealth to the country.
However, history shows that it's actually bad because it brings out the worst humans, the ones with the most greed and the most curel methods, and results in things like civil war, military dictatorships, and much higher wealth inequality than before.
This is in contrast to the countries that are resource poor, they live from human labour instead and seem to have better development trajectory. Of course, there is an impact of influence from the west which benefits from cheap resources, but I'd argue that some of those effects come from the inside.
I think that with AI, our societies will look more like some african country with warlords than the developed, labour based economies we have today.
Does that mean that soldier is going to be the last job? AI is coming for those jobs too. Drones of various kinds are already used in today's wars, but they do certainly still have need for foot soldiers.
I think that the emergence of AI will have a major impact on resource distribution questions in developed economies, which until now have distributed resources based on labour force. Without intervention, it will trend more towards distribution seen in countries with the curse of resources, which is more violent.