What is the history of how computers are made?
this is more of a history question.
You're asking a broad question that would take several books to answer. Perhaps you have a specific, targeted question about one aspect of computer manufacturing?
Start researching Charles Babbage, and work from there.
ENIAC made the first electric computers.