A Japanese probe has reached an asteroid 300 million kilometres away to collect information about the birth of the solar system and the origin of life after a more than three-year voyage through deep space.