Rigidity in dynamics and Möbius disjointness