No, it also applies to executive branch nominees. Betsey DeVos was confirmed by one vote. See:
https://www.nytimes.com/interactive/2017/02/07/us/politics/betsy-devos-confirmation-vote.html