Elon Musk, CEO of Tesla and SpaceX, threatened to ban Apple devices from his companies on Monday following Apple's announcement of a partnership with OpenAI. Musk expressed concerns on his social media platform X about the security of users’ information with this integration, labeling it an “unacceptable security violation” and accusing Apple of lacking understanding of the implications.

Apple's announcement highlighted its move into artificial intelligence, including an update to Siri that integrates OpenAI’s ChatGPT chatbot. Apple assured users that their questions to ChatGPT would require permission and would not be logged. Musk criticized Apple’s dependence on OpenAI, asserting that Apple should develop its own AI and doubting their ability to ensure user security and privacy.

Musk threatened to ban Apple devices if OpenAI is integrated at the operating system level, and mentioned that visitors to his companies might have to check their Apple devices at the door. Apple responded by clarifying that their AI integration with OpenAI is optional and they are using their own AI technology.

This conflict comes against a backdrop of Musk's history with OpenAI, a company he co-founded in 2015 but left in 2018. Musk has since criticized OpenAI and its CEO, Sam Altman, and recently raised $6 billion for his own AI company, xAI. xAI’s first product, Grok, aims to be a politically incorrect alternative to ChatGPT.

Neither Musk nor OpenAI provided immediate comments to CNBC regarding the situation.