He had said that
“One of my predecessors, President Rutherford B. Hayes, reportedly said about the telephone: ‘It’s a great invention but who would ever want to use one?’” Obama said. “That’s why he’s not on Mt. Rushmore.”
“He’s looking backwards, he’s not looking forward. He’s explaining why we can’t do something instead of why we can do something,” Obama said. “The point is there will always be cynics and naysayers.”
Obama was incorrect.
According to the Rutherford B. Hayes Presidential Center:
Hayes was not only the first president to have a telephone in the White House, but he was also the first to use the typewriter, and he had Thomas Edison come to the White House to demonstrate the phonograph.