Musk called it an “unacceptable security violation” and even said the Apple block could extend to visitors to his company’s headquarters.