Penske Media Corp., the publisher of magazines like Rolling Stone, Billboard and Variety, agreed to acquire a 50% stake in South by Southwest, the famed tech, music and movie festival, people familiar with the matter said.