The private collector beat out a group of cryptocurrency investors who raised more than $40 million to buy the historic document.