Apollo Global Management Inc. has netted roughly $250 million in paper gains so far from a bet it made in recent months to support Elon Musk’s xAI.