Microsoft has criticized governments and intelligence agencies for stockpiling vulnerabilities in government computer systems, in the wake of of the WannaCry ransomware that has so far affected 150 countries and an estimated 200,000 computers since Friday.