There are easy examples that prove both sides. Depending on your use, the current state of AI does some amazing things.
It also is being pigeonholed into areas where it is not yet ready. There are a LOT of examples out there on that.
A hobby of mine is using AI to find bizarre ways to code things that aren't the normal way of thinking of the problem. Obviously it isn't practical, but it is fun. I most recently got ChatGPT to generate Pi from a random length string of 5's like this:
~~~
from math import sin, radians
def fives(repeat: int) -> float:
repeated = 1 / int('5' * repeat)
value = sin(radians(repeated)) * (10 ** (repeat + 2))
return value
~~~
Yes, it uses a repeating string of 5's to generate pi. Call it with "fives(18)" as an example. This is a cleaned up version of what ChatGPT gave me, but all the same, it works. A string of 5's can give you progressively more accurate estimations of pi - more 5's, more accurate pi.
Bizarre question to ask an AI, but playing like this is how eventually discoveries are made, since it is capable of coming up with working answers.
(Edit: corrected markdown copy-pasta weirdness. You can copy/paste but have to remove the extra indents HN adds. It's normal python, you know how to do it.)