Monsters, Inc. is an animated film; its characters and world are entirely fictional. The concept of monsters "learning to touch" is a narrative device within the movie's lore—not a real-world phenomenon that can be explained scientifically or historically.
In the film's universe, monsters harvest screams by scaring children, believing human touch is toxic. The plot revolves around discovering that laughter (and gentle contact) is more powerful and harmless.