Those were dumped because there was no demand and warehouse space costs money. Unsellable product isn't an asset, it's a liability.
Also Atari didn't go bankrupt and weren't even an independent company. They were a wholly owned division of Warner since 1976. When the console market crashed, Warner simply sold off their console division.
Atari Inc (1972-1984)
https://www.dailymail.co.uk/news/article-2836779/Atari-games-buried-landfill-net-37-000-eBay.html
Those were dumped because there was no demand and warehouse space costs money. Unsellable product isn't an asset, it's a liability.
Also Atari didn't go bankrupt and weren't even an independent company. They were a wholly owned division of Warner since 1976. When the console market crashed, Warner simply sold off their console division.