Coexistence of collectivity and chaos in nuclei