The idea of cosmic threats to Earth almost sounds like the stuff of fiction. But while alien invasions may be far fetched, these threats are perfectly real.