Rigidity and mean curvature flow via harmonic Gauss maps