In Robinson Crusoe on Mars (1964) oxygen came from rocks when he heated them but to heat them there must have been oxygen , ,LOL movies
For that movie Mars was believed to have a similar atmosphere plus O2 content as Mt Everest or something of similar altitude. So starting a fire could happen, hard to do but could be done!
Alas, “Batman” didn’t land too well in that movie, iirc.
Electrical resistance heating driven by solar cells. No oxygen needed.