The fact that a company backing an AGPL-licensed work goes under isn't the direct concern of the license. The fact that the code itself remains as Free Software, with a source-release obligation, even when run as an online service, is the principle concern.
Copyleft free software licenses, as with the GPL and AGPL, promote the concept and system of free software, first and foremost.