James Camron wrote the script immediatly after he finished Titanic (1994/5). So rest easy, nothing in this movie had anything to do with the political climate of today...and since he isn't a fortune teller I doubt he knew about the oil crunch or OIF/OEF.
I for one absolutely loved pretty much every aspect of the movie. Only wish there was an IMAX in a reasonable distance of here. I highly recommend seeing it in "REAL 3D" rather than the regular 3D though, the difference was rather noticable.