A Japanese space probe has finally reached an asteroid millions of miles away that it was sent to find nearly four years ago.