@futurebird it's certainly not some obvious thing that fell out of the sky, early computers had this problem of "how do we get information in and out of these things?", and just about all the attempts people made at this where people looking around at all the other technology they had at the time, and repurposing it for computers. it's "obvious" that the keyboard came from typewriters somehow, but the less obvious part is how the screen on top of the keyboard is a replacement of a replacemnt of typewriter paper. the typewriter interface still silently shape so many small details of how computers work today, especially under the hood. it's good to know this history so you have context for how the present works.
a different society might have invented something else entirely, and/or converged at a similar thing from a different direction.