Pretty sure the developers of Factorio made a train game based around the train system in Factorio. Can't for the life of me remember its name but it looks rather good
It even looks like the rail assets were lifted straight from Factorio. I mean if it's all above board it's fine - Factorio's train system is really good.
That said, they're also giving it major updates/overhauls in the upcoming update, so this one would be falling behind if there's no good relationships between the two.
Yes, that's the one. Never played it, but from my understanding its effectively just the train system lifted out of Factorio with a game built around it.