How are data in cloud segregated?

How are data stored in cloud segregated? Government, rival corporations, enemies and what have you uses cloud reasons best known to them and their data are stored in the cloud? If two rival corporations use the same vendor, how are their data segregated? Can the either of the two have access to other resources?
