A spate of well-known hedge funds reported steep losses in July as AI shares tumbled.