Nancy Pelosi lost $8 million in 2025, but one major investment kept her fortune from falling even further.