The Swiss SBB also has a real estate division, which makes them a lot of money actually (I think a lot of that comes from leases from shops in train stations).

They also have an energy company which runs some hydroelectric power stations.