Apple's total comprehensive income was $24B in Q2. Their total assets were $332B, and total liabilities $270B. Assuming all product sales dropped to 0, they could make the best effort to liquidate assets, after which they'd only have $62B - which would last them a little over a year at $13.6B in quarterly operating expenses.
https://s2.q4cdn.com/470004039/files/doc_financials/2023/q2/...