World’s largest sovereign wealth fund posts $138 billion in first-half profit as tech stocks soar