The sweet spot is getting the ai do boring work why you focus on more critical aspects within the software development process.
AI is terrible at creating code structure so if it is a project that one plans to work on for a long time and could need contributions for others, you want to oversee that things are done correctly.
If you already have the skills, you could instruct the AI to do things correctly, the way you would.
An example I ran into recently was getting the ai to build a computational intensive action which was obviously blocking the UI thread. It wasn't obvious to the AI to move that work to a worker thread but after informing the AI about the issue, it fixed it correctly