Expert in Trump dossier trial says tech firm’s services were used in hack of Democrats