And the bar for delivering value via programming is way higher than medicine. Just knowing how to do a few loops and print statements doesn't take much, but also doesn't help basically anyone do their job. In a few jobs it helps, but most people doesn't need that kind of simple text processing in their jobs, and those who do are usually already automated by dedicated programmers.
Edit: With that I'd say, people will learn to program simple scripts once we build enough interfaces for such programs to be useful to the average person. But as is we are making programming harder and harder via tons of build scripts etc making just setting up a project properly often take hours to days. We are moving in the wrong direction here if we want average people to code.