We easily presume that survival requires certain instituted structures and systems to overstay their welcome. But, that is mere nostalgia. Institutions, though necessary, are less necessary than we think. That which is erected by Man will always be outlived by Man.
When society does things in a better way, that better way will always downsize some jobs, but many more work opportunities will spring up in their places. Better and better systems will be invented by the synergistic combination of opportunity and necessity.
In that process, humanity sheds institutions as a snake sheds its skin. Life always finds a way.