Rio's Train Museum has a compact collection of 19th-century locomotives, imperial and presidential railway cars, and old streetcars. It is a specialist museum, but a rewarding one if you are interested in how railways tied imperial Rio, the suburbs, and the wider country together.
The museum sits away from the usual beach-and-centre circuit, so treat it as a deliberate trip rather than something to add between nearby sights.