As long as AI can't make the code optimized and secure by itself, and these day it still can't, those people won't be replaced. And when they do get replaced there is no guarantee that the more "entrepreneur" population won't get replaced as well.