I use AI for tedious but simple stuff. Regex, excel formulas, python list comprehension, stuff like that. Usually a 1 liner of some sort that I can thoroughly test without too much effort. Sometimes when I have to implement a new concept or understand some terminology AI is nice as well. "What is X in the context of Y" sort of thing. If the stakes are low that can be a lot quicker and more effective than reading the docs, or it can help you to narrow down what docs you need to be reading. I do not trust AI to be more than like 70% correct even on a good day, so I really don't like using it for anything other than getting a jumping off point or generating something that can very easily be tested and corrected.
Keep it out of art.