> I see a future where a developer is paid the salary of a retail cashier and it scares me.
The only way that will happen is if Point-of-Sale systems become so complex that a developer has to run them, or development becomes as easy as punching buttons on a Point-of-Sale system.
That concerns me as well. If you'd like some consolation, make a job post and interview "senior software engineers" sometime. Try fizzbuzz as a first question (yes, even in 2017).