Pretty sure this is the anime, Super Express Mazinger 7 (1983), also known by the alternate title of Protectors of Universe.
From a review:
Protectors of Universe is a 75-minute film by IFD Films & Arts Limited. The film is set in a distant future, where war is erupting. The kingdom of the New Star has been overtaken by vicious bionic human Alfred, whose sole ambition is to conquer the universe. Alfred’s first target the capital city of peaceful planet Orion. Kanann, king of the city, find his troops to be useless against Alfred’s onslaught. In an act of desperation, Kanaan sends his son Prince Cifrian, his daughter Susan, and a hell of a lot of random children to Earth, in the middle of a battlefield, on a gigantic intergalactic train with no weapons, and no means of real defense.
A giant robot with the number '7' on its 'belt buckle' is briefly shown flying through space at around the 0:30 mark in the trailer below, and you can see a train extending from beneath its waist in the last few seconds of the video.
I checked the full movie on YouTube, and there is a scene about halfway through where the robot crashes down on a snow-covered landscape. The train section of the robot is also shown to be full of children, as per the bolded text in the review quoted above.