The history of erasers dates back to the 1770s, when bread was the primary tool used to erase pencil markings. People would roll up and moisten bread to remove graphite marks effectively.
There are some inventions that look completely pointless to the untrained eye: who would ever need a motorized garbage can, an electric pencil sharpener or a battery-powered eraser? Quite often ...