Larry Ellison has overtaken Elon Musk to become the world’s richest person after Oracle’s shares surged by more than a third on Wednesday.