Nobuhiko Ćbayashi's final film is the most epic of spectacles, a meditation on cinema that's by turns baffling, exciting and moving