Japan was overtaken by China as the world’s second largest creditor nation in 2025, despite setting a fresh record for its tally of overseas assets.