A company is a legal person separate from its directors and shareholders.
If a director were to go bankrupt this would not directly affect property owned by a company they were a director of. The property would still be owned by the company. A bankrupt cannot be director so a new director...