The way I see it, technology only came about because of art and natural philosophy, and now technology has taken the importance in our society because it enables us to control and explore nature/reality. This means STEM jobs are more in demand for the foreseeable future; but once the machines start coding better than humans can, and begin developing better machines than we could ever conceive of, the liberal arts will come back to the forefront of what humans deem important. Creativity will be the last bastion of human importance, and it will (hopefully!) be what gives us the advantage once we begin implanting ourselves with machines. (merging with machines)
Until then, the torch of the humanities has to be passed, but the creativity that comes from them is still vital if used to steer us in how to use these technologies.... its just not in demand as much ($$$).