I've asked this question before (what would you do if software development went away[1]) and the response indicated that they would not, or could not entertain that thought. Instead they posited that such a world would be impossible or that developers could go back to school to be lawyers - not realizing that new law school grads had a 25% unemployment rate.
[1] https://news.ycombinator.com/threads?id=chrisbennet&next=123... half way down the page, search for "As a thought exercise"
"As a thought exercise, what will/would software developers do once 90% are made redundant by A.I. or something? Maybe "suck it up" and go back to school to become nurses?"