AI Applications in Railways