Why on earth do you think it’s necessary for life to have a “purpose”? That’s about as sensible an idea as those who ask “why do wasps exist?”. The creating of AI has absolutely nothing whatsoever to do with our existence or otherwise. Man has been developing tools since prehistory, and these tools have become extraordinarily sophisticated. Our current forays into the area of AI reflect the cutting edge of tooling, not a step towards some great objective for mankind which you term AGI. What you refer to as a purpose is merely another tool, irrespective of how sophisticated it might be.
On the other hand, if you read The Selfish Gene, you will understand how our genes have their own plans for us 🙂