China’s Internet giants are providing a haven for bond investors fleeing mounting default risks among the nation’s state-owned enterprises.