A Japanese probe flew 400 meters (1,312 feet) from a near-Earth asteroid this month, marking the closest approach ever recorded for such a mission, the space agency said.