When machines hallucinate the self-illusion, they will also need to sleep. Some human neural networks can in fact stay on-task like machine neural networks do. You can hit your hand with a hammer at any time, and it will hurt. Any time the eyes see red colored things, the brain registers red. Face recognition works perfectly all the time. When the component deep neural networks that are currently deployed to continually scan single sources of data are stitched into larger systems that proactively direct attention at increasing levels of abstraction, then machines will also seem to have attention that wanders.
Yes, machines may be more intelligent than humans. But we already have some humans that are more intelligent than other humans; should we lock up the smart people because they are a threat to the less smart people? Do you know how your phone works? Are you threatened by the human that developed it? The general patterns seem to be that the more intelligent a system is, the more benevolent it is.