In 2022, NASA knocked an asteroid off course in a test of humanity's ability to defend Earth.