Chaotic dynamics in collective models of nuclei