It's kind of a miracle that anyone thought that if they just tediously connected a few hundred wires together, they could make electricity do something like math and logic. And then they went ahead and did it. And then they kept doing more of it. All the while trusting that maybe someday this would turn out to be a useful thing to someone - it just needed more wires!