These railway features do not exist (at least anymore).  These no longer existing features should be added to OpenHistoricalMaps where it can live on forever.  OHM is designed for historical features.

Since these "abandoned/razed" railways gave been completely removed, they should not be added to OSM.  These ways should be removed, and instead be added to OHM.

https://wiki.openstreetmap.org/wiki/Good_practice#:~:text=also%3A%20ground%20truth-,Don%27t%20map%20historic%20events%20and%20historic%20features,-Do%20not%20map

https://wiki.openstreetmap.org/wiki/Lifecycle_prefix#:~:text=Place%20where%20railway,can%20be%20mapped.