Modern Artificial Intelligence focuses on monitoring statistics and probability. Ultimately, it's something that can also be done manually, although the software can analyze huge amounts of data much faster than the human brain. As for the real trajectory of the ball, predicting it would require analyzing the position of the wheel and the speed of the ball when it was released. Theoretically, it is possible, but very fast cameras would be needed to capture this information. Roulette is a game of chance and while artificial intelligence can increase your chances of winning, it cannot guarantee a win.