Etymology
Today it means: Any piece of hardware or built environment, close to the permanent way, that has a railway function Full definition →
From way + object.
Etymology from Wiktionary, CC BY-SA 4.0.