How AI and big data are transforming horse racing predictions, improving accuracy, betting strategies, and enhancing racehorse safety.