A $30 billion fund underscores China’s ambitions to expand its tech capabilities and signals how those ambitions are being threatened by recent market turmoil.