Yup. Ironically, it's in the context of AI where I first saw those questions being brought up. And there's an extra difficulty there: biological organisms can can reproduce only so fast. Software can reproduce as fast as you can provision new VMs in the data centre. So we can easily imagine suddenly going from 1 human-like AI program to a hundred billion instances of it, and then humanity becomes an insignificant minority from the point of view of democracy.