Superintelligence could be the best invention ever – but only if it puts the interests of humans above everything else.