Shares of Reddit Inc. rose 10% in extended trading Thursday after the social media platform announced a partnership with OpenAI.