Japan is beating out China in a race to build Bangladesh's first deep-water port as the region's powers jostle for a foothold in the Indian Ocean.