NASA has shared a series of images that show the intentional collision of a spacecraft into an asteroid and the debris coming off in the aftermath.