Rigidity on non-negative intermediate curvature