NBC: Apple warns of security flaw affecting iPhones, iPads and Macs