Mark Twain lost a lot of money backing new inventions