AL will be pure logic and as such not capable of experiencing emotion. It will understand emotion but will not act on them unless logically required. Therefore, AI will be atheistic by default.
The question we have to ask ourselves is different. Will humans be able coexist with AI or be displaced by AI. Coexistence would mean humans being marginalized, displacement means pretty much extinction. In both scenarios humans loose.
We could only accept that giving birth to AI will somehow preserve what’s the best of humanity in new, better, and improve evolutionary form.