AI-Powered Dual-OS Architecture for EVs