Kind of sad to think that a company just went bankrupt, while their employees were working on their own companies instead. No blame for OP. But what should managers do in challenging situations to prevent their team from losing focus?
The existence of all these side hustles in that case probably wasn't the reason the company failed.
Force them to spend 12 hours in the office, of course.