Surjunctivity and topological rigidity of algebraic dynamical systems