Shoot down the ship in the "Invasion" level at San Francisco. You can now select the Mothership as an area for purchase at the shop for 35,000. Alternately, play as the Alien faction. You can select the Mothership after another faction shoots down the ship.