Towards a Complexity-Based View of the Firm