Venezuela's government nationalises foreign-owned oil operations, triggering an industry shock and a cautionary lesson in state control of resources.