Understanding World or Predicting Future? A Comprehensive Survey of World Models