Of the four in the four in the OP, the British Empire ended simply because it had no place in the latter half of the twentieth century. World politics had changed since the 18th and 19th centuries and there was no longer a place for a colonial empire. As such, they gradually, and generally peacefully with somenotable exceptions, released their hold on various colonies (starting with the white colonies in the latter half of the 19th century).