Nonlinear dynamics of gravitational instability in complex viscoelastic astrofluids