Nintendo, and the machine that started it was the Game & Watch, not the Game Boy.
The Game & Watch line arrived in 1980, designed by Gunpei Yokoi after he saw a bored businessman fiddling with an LCD calculator on a train. Those single-screen devices with their fixed segments and tiny printed characters established the format that handhelds still follow.
The Game Boy, released in 1989, was the console that made handheld gaming a mass market with interchangeable cartridges, but it stood on the foundation the Game & Watch had already laid.