The ownership is really spread all over the place. If you have a road crossing in a busy municipality, the rail bed is owned by the railway and the crossing is owned partly by the railway and partly by the municipality, and they'll have an agreement in place for the maintenance and care of that crossing.
On March 26th, 2015. See this statement in context.