You must really have your head in the sand if you truly believe AI will not soon be very close to, if not better than, humans at writing code.
RLing taste and discernment are harder, but don't doubt that researchers can get a model that produces a more performant solution than you, while using less code, and being more secure/robust/etc, in a fraction of the time. Your moat for the moment is alignment with stakeholders and high level taste, enjoy it while you can.