Three men, including the alleged mastermind, have been arrested for travelling on fake railway tickets prepared using artificial intelligence.