The Beijing Railway Museum houses a large collection of steam, diesel and electric locomotives and other rolling stock. Many of the exhibits seem to have been selected for being unusual rather than being typical examples from the working railway but it's still a fascinating place to visit.