The entire line in Ottawa cost $2.1B, including rolling stock.  The tunnel cost $560M/mile in 2013 $s.  All the other examples you cite are larger scale, so obviously cheaper per unit.  Also, you're not comparing inflation-adjusted dollars.  Ottawa's Confederation Line is cheaper than all your examples, once you account for these factors.