In a new interview, Musk detailed how the short-lived government efficiency effort identified improper federal spending and drew political pushback.