Or do exactly what Nate Silver did – negotiate the contract in such a way that you still have control over your IP if they decide to terminate you or sunset your product. Of course chances are that you don't have the kind of leverage that he did, but still...worth a shot.