NBC: Judge throws out Elon Musk's X lawsuit against nonprofit