Well in the end of the movie it turns out that the future humans built the tesseract (I believe it's called) and the wormhole, leading the humans to survive and in the future built the tesseract and the wormhole, leading the humans to survive and in the future built the tesseract and the wormhole... you get the idea.
It's a time travel movie, and the whole thing becomes a paradox - if the humans didn't survive they wouldn't have developed to be able to make wormholes and time travel magic, but they did survive because of time travel magic.
So which came first? It's a paradox. One explanation is that there was nothing that actually came first but everything just happened as it should and there was no other way it could've happened, thus, predetermination.
But yeah, time travel paradoxes, fun stuff.