The Philadelphia DA asked a state judge to shut down Musk’s $1 million election sweepstakes, calling it an “illegal lottery."