George Harrison's early Beatles guitar has broken a record, selling for millions at auction.