The probability of something big hitting us is really low, coupled with the fact that we can see it coming since all objects in space are visible. Miss-calculating a trajectory could indeed happen and we may not notice it if it's coming from the direction of our sun, but the probability of that is even lower.
So why would you spend tons of natural resources, time and money for a machinery of dealing with a problem that we may not have in the next 100,000 years? And what should that machinery do in the meantime?
Personally, I think our world has to solve bigger and more imminent problems that can lead to extinction too ... hunger, disease, overpopulation, economic recessions, natural resources running out, global warming, the destruction of the only habitat we know that can sustain life, nuclear wars and the list of things that can happen in the next 400 years can probably go on. Heck, we came closer to extinction during the Cold War than we ever ever did from a comet passing by and the only thing saving us was the few reasonable men in charge, but we may not get so lucky next time.