Tanzania cleverly uses military in construction of $1.92bn railway being built by Turkish firm