A summit between oil producers ended in failure, with participants unable to strike a deal on freezing output.