The Winklevoss twins who claim Facebook founder Mark Zuckerberg stole their idea have lost a long-running legal battle.