Those are definitely industrial sidings. You see those a lot in Chicago near both current and former industrial corridors.
You do also see a lot of old streetcar tracks, but they only really appear during street reconstruction projects.
For example, here are some they tore up during street work near my office a few months back:
And directly outside my office, leading onto a bridge.