Hugo is correct, it -kind'of- comes from Arthur C. Clarke.
The correct quote is: "Any sufficiently advanced technology is indistinguishable from magic".
I would add to the end of it any of the following:
"to the common man" or
"to the uneducated" or even
"to the gullible"
Alex