Only one Master Ball is obtainable in Pokémon XD: Gale of Darkness. You receive it from Jett in Phenac City after defeating him in battle.
No other Master Balls exist in the game (unlike mainline titles where you can sometimes get more via lottery or post-game). Use it wisely—on a Shadow Legendary or a high-flee-rate Shadow Pokémon.