Apparently, when the neuter possessive pronoun was first introduced into English just before 1600, it was originally spelled _with_ an apostrophe. This latter was only dropped around 1800, as the alternative (present-day) meaning of "it's" became more and more common through speech.