Nasa crashed its $344 million Dart spacecraft on an asteroid, intentionally. The crash is aimed at giving Earth a defence tool against future asteroids headed our way.