I know it’s a meme, but this is a dumb take. You’re comparing two very different things, and they serve two different purposes. Sometimes you want to crush some fast food at 2 am after drinking at the pub, sometimes you want to have really good pizza where less is more and the quality of the ingredients matter. Eat both and be happy you have pizza.
Here in Canada there are definitely de-icing/ snow removal machines used on the tracks. Large propane heaters keep switches clear of ice so they can operate. Hi-rail trucks will go ahead of trains through the mountain passes to ensure the way is clear. During particularly bad snow storms they can use machines like this to clear the snow.
The trains will also release gravel on the rail to improve braking times.