A federal judge sided with Elon Musk's SpaceX after a Texas-based environmental group attempted to halt rocket launches at one of its sites.