Sadly mate, there's nothing you could have done. The game was rigged from the start.
If it's any consolation, your boss at the interview will also lose his job in the next tranche of New Owner redundancies. As will half the HR team. That's how it works.
Wishing you the very best for the...