One of the criteria I have for a professional is to understand how their work fits into the wider context, and be able to juggle multiple vantage points. Most developers now are amateurs that just stitch together code from npm, Stack Overflow and random github repos to create unmaintainable messes. Their work might be made redundant, or even sadder it might be that quality will become even more irrelevant, and all that matters is how well developers can sell themselves.
Whatever might happen, solid fundamentals and knowing how to best abstract the real world with minimal complexity will still be useful in the next 10-20 years.