I have those exact same thoughts... Although a matrix like scenario is impossible (due to the fact that it would take up far to much energy draining live people for energy since they would consume more energy than they would put out!).

But a self aware robot is not unlikely! But as Diablo said, just something to wonder abnout in the weekend!