After the controversial Pegasus spyware created by Israel-based NSO Group was discovered on iPhones and iPads, Apple released an emergency software update on Thursday to patch up the vulnerability.