In one of the broadest such hack campaigns on record, thousands of companies in 17 countries hit by demands that they pay up in order to get their systems working again