I think there are a couple problems w/this concern.
1. So long as we can form a general concept of how AI works and understand its source, there is no danger of our mistaking it for God (as generally understood in western/Abrahamic traditions). God has no source and is, ultimately, incomprehensible (the essence of God, in particular). For anyone tempted or fooled by AI, the appropriate response might be something like: If your god is comprehensible and has a source, it's not much of a god.
2. Unlike (1), this is an arguable point: consciousness is not something an algorithm, or AI in general, will ever enjoy. Like the supposed Hindu "turtles all the way down," AI is algorithms all the way down except it is not an infinite regress since it begins with human programmers.
At any rate, Searl's Chinese room thought experiment is useful on this account. The programs/algorithms don't understand what they are doing. AI does not know what it's like to be AI since it's not aware and conscious of its own experience, which it also doesn't have.
en.m.wikipedia.org
Why does that matter? We assume God is greater than us, and yet we have awareness/consciousness. We know ourselves, in the wide sense of having reflective experience and understanding of ourselves. Surely God knows that God exists through first hand, subject-like experience. At least, in the Christian tradition, God loves God's self, which is not possible without something like (but by far greater) self-awareness.