Compute all four symmetric sums. The roots pair off into 1,−1 and i,−i, and each pair sums to zero, so e1=0. Working out the six pairwise products and the four triple products gives e2=0 and e3=0 as well.
The product of all four is what survives:
e4=(1)(−1)(i)(−i)=(−1)(−i2)=(−1)(1)=−1
So the quartic is x4−e1x3+e2x2−e3x+e4=x4−1, which is indeed (x−1)(x+1)(x−i)(x+i).