That’s a huge issue with UK company law currently. I’ve seen it many times, & even got ripped off (only for the figures, but still) by a company doing that.
It should be as illegal for a company to sell it’s assets to another company (owned by the same director[s]) for a pittance (or even without money changing hands!) as it is to do that with your house to avoid death/inheritance taxes.
Literally, if a company does that then goes bust within a week, the sale should be revoked in the same way.