Planet of the Apes
is the first ending that came to mind.
Also, the ending of The Third Man,
where the girl walks past Joseph Cotten without even looking at him.
And, oh, the final sequence of Dr. Strangelove,
with "We'll Meet Again" playing over a montage of mushroom clouds.