AI at the moment, is a very sophisticated development of that experiment where you fill a jar with sweets and ask people to estimate how many sweets are in the jar.
The replies populate a bell curve – the more replies you can get, the stronger the bell curve becomes. Given a large enough number of responders, the value at the centre of the bell curve turns out to be very close to the actual number of sweets in the jar. There are a few stupidly low answers, and a few stupidly high answers, but the majority form an average which spookily turns out to be very close to the actual number. The 'Ask the audience' feature of "Who wants to be a millionaire" uses this phenomenon; Ask enough people and you will find the correct answer. The largest audience selected answer is almost always the correct answer.
Chat Gpt is an AI algorithm which has been "fed" many thousands of pages of text, graphics, photographs etc., and has the ability to translate a question and form a bell curve from that data to any question asked of it.
In that respect, it does not have actual intelligence, but draws from its human derived database to select correct answers, via the bell curve method.
My mother recently wanted our family members to write poems based on a particular set of phrases relevant to our family, as a fun exercise. My son, being of a very technical mind-set asked Chat Gpt to write one and he input all the phrases as its data. Within seconds, it had generated a full poem, in proper verses, and all rhyming properly, using all the phrases – something that would take each of us weeks to do.
So, in that respect, AI can be a very useful tool. It is not self aware and is merely creating a response from a myriad of human responses, like a very sophisticated 'ask the audience'. It can be thought of as a more sophisticated version of the Google search engine, where you type a question into the search bar, and it will respond with pages of 'hits' relating to that particular question.