Humans hate to think and make decisions, they like being told what to do.
So having an AI doing the dangerous part of thinking, leaves humans to do what they do best: follow orders.
Even better AI will take on the responsibility when anything fails: just get the AI to fix it, after all AI coded the mistake.
The writing part was never the bottleneck to begin with...
Figuring out what to write has always been the bottleneck for code
AI doesn't eliminate that. It just changes it to figuring out if the AI wrote the right thing