Unfortunately the internet has been good for somethings, but very bad for a lot of other things
You could say that about virtually everything.
In the mid 1800's, the railways were good for business and people, but bad for canal workers/owners.
In the 1980's supermarkets and retail parks were good for shoppers but bad for small independent shops.
It's just evolution. Things change. People/businesses have to change too.
Thomas Cook didn't adapt quickly enough. Keeping a loss making high st travel agent when most other chains had closed was madness. Buying up the Going Places chain when it was close to failure was madness.
It had been a financial basket case for several years, laden with huge debts it couldn't service.
Ironically, sales had started to rise over the past couple of years (despite the Brexit gloom-mongers), but it just wasn't enough to cover the ever increasing losses from the High St travel agent chain and service its debts.
Even without Brexit, it would probably have failed.