Major cyberattack hits government agencies, institutions worldwide; NYPD hopes electric patrol vehicles catch on.