Oil prices rose at least 7% on Wednesday as some of the world's largest oil producers agreed to curb oil output for the first time since 2008 in a last-ditch bid to support prices.