An asteroid was streaking toward Earth. A collision seemed all too possible.