Stock markets plunge as oil prices fall, China devalues currency