Social media platform Reddit has struck a deal with Google to make its content available for training the search engine giant’s artificial intelligence models, three people familiar with the matter said.