Building a railway is undoubtedly a hefty expense, particularly considering the premise of constructing at least 57,000 kilometers of railway over twenty years.
Some hilly areas require detours since the current technology cannot handle tunnels spanning several tens of kilometers long, hence taking detours is more realistic.
Of course, there is another solution, which is essentially to cut through mountains and fill in pits, a common practice in railway constructions worldwide.
However, this approach would increase labor and time costs. Unless it is the only option, it should generally be avoided.
The good news is, at present, the financial situation in Australasia is relatively strong with many available methods and means to raise funds.
Even facing numerous major projects including canal constructions, there's no need to overly worry about financial issues.