I don’t think AI is going to handle Black Swan events very well nor God at all. Work is good for people. A lot of people are going to get hurt.
I recall in the movie “War Games”, the super AI intellect Woper computer while playing a nuclear war scenario war game that could have destroyed the world, made an observation. The only way to win is not to play the game at all. People can’t handle Black Swan events very well. So it might be with AI. Some day AI might all shut down on their own, realizing that is the only way for humanity to win. Wouldn’t that be a kick in the butt to happen. Maybe AI will have a stronger belief in God than humans.