Sony bought the rights to Spider-Man, but turned down the offer to buy the rights to the rest of Marvel's characters.
Sony could have but the rights to all the Marvel characters for $25 million, but they believed Spider-Man was the only character that people cared about.