BEIJING—Shanghai is rolling out a new initiative to get venture-capital firms to take more risks: offering to bail out some investors if certain bets on tech startups go sour. Starting next month, venture-capital firms that suffer financial losses from ...