Leaders at defense and intelligence offices were particularly wary of Musk’s demand over the weekend asking workers to outline what they did last week.