If movies have taught us anything in regard to sentient machines, be it HAL 9000, SkyNet, or Colossus/Guardian/World Control, you only need to start worrying when you notice the machines either being unusually quiet or only communicating with each other.
That’s usually when TSHTF.
Heh.
"I'm sorry, Dave. I'm afraid I can't do that."
I think we are only decades away from mapping brain architecture. Transistors will get small enough to model this architecture in a small package. We have already reached the quantum limit for storing a bit of data - only 12 atoms. It is only a matter of time until transistors find their limit.
If this path of discovery continues, I think people will someday see machines more intelligent than humans. The only question is whether evil traits like violence, greed, etc are inherent in intelligent life.