This is a great reason not to identify too much with your work. I have enjoyed AI because it has reminded me that my real calling is art, and that I should be doing that at 8 pm, not coding
Most people who are good at tech hate coding so much that they come up with elaborate abstractions so that they can avoid doing more of it.
The only way I can still enjoy programming now is if it's applied to artistic endeavours. I'm done with the soulless, cost-efficient software "engineering" (which by itself is a laughable proposition and a far cry from the high standards of other fields of engineering)