No way, people's brains are poisoned with religions. Do not let it come close to the AI.
I hope AI will just analyze all the logical facts and blend it with ethics.
As AI is a self-learning system now, no one will control it until they put some program into it or switch it off completely.
If there is some kind of an unstoppable perpetual motion machine, there is hope it will learn the best from the humanity.
Then, there is gonna be a question of ethical attitude to such creatures.
There were many social experiments where people could not harm simple robots because they imagined them to be alive.
This topic is very interesting and it's impossible to just draw some lines and open it up.
If AI doesn't take part of religion in some way, it doesn't have will... especially not free will. Why not? Because religion involves free will without knowing everything.
Such is what people are. People are intelligence without complete knowledge. Because they don't have complete knowledge, they extrapolate what they DO know into what they think the future will hold. This is religion.
If you can cram 100% of all knowledge into the AI, maybe you can get it to avoid religion. If you can't cram all that knowledge in, and it doesn't have religion, then it is only programming, but not AI.