Foreign and domestic investors have been flocking to Japan's real estate market to buy properties that have risen in price but are still seen as having scope to gain.