Holomorphic automorphisms of the unit ball of a direct sum