xAI, Elon Musk's AI firm, will sign the EU's Code of Practice chapter on Safety and Security, aimed at aligning with upcoming AI regulations.