The Swiss railways is kind of used to non-fiat money already - they already (co-)print and maintain their own alternative: the reka cheques http://www.reka.ch/en/rekamoney/privatepersons/reka-checks/S...
There machines all already accept Swiss cash, euros, reka, and all modern electronic payment forms. Adding bitcoin exchange possibilities doesn't seem like such a stretch (it's a software-only change).