Will machines completely replace all human beings?

In the future machines will probably no longer depend on:

(1) humans, if machines will become more powerful than humans;
(2) solar energy, if machines will be able to fuse atomic nuclei;
(3) matter, if machines will not need any material thing as an outside source for their self-preservation and reproduction.

Are you shocked?