The railway loan deal could propel it ahead of the largest borrower, Indonesia, which had a 4.72 trillion yen tally.