Summery

Modern Microsoft office and Libre office files like .xlsx, .docx, .ods, .odt and .pptx are actually ZIP Archives containing XML files and other resources.
Here are a few methods to restore them or read data inside of them in spite of corruption:

Restoration

When inspected with file, your office files show that they are archive files or something else, this could be a reason why your data is corrupted. To fight this, you need to change the first magic bytes from the unwanted extension, to the corresponding one for your office format - this is a similar technique as MIME type modification in Bypassing file upload filters.

To know which bytes you should set, you can look up at this wiki article. For example, .xlsx has 3 signatures which I can use to replace the zip archive ones, I will use the first one.

These are the bytes in hex that the corrupted files start with:
00000000: 5048 0403 1400 0600 0800 0000 2100 4137

And I will change them to what the wiki article suggested:
00000000: 504B 0304 1400 0600 0800 0000 2100 4137
I can edit those first 4 bytes with hexedit.

After I save, I can now see with file that those files have the correct extension and I can access them and read them as I should.

Enumeration

strings

You can use strings to try to read the remenents of readable text from the files.

unzip

As in essence, office files are ZIP Archives, you can unzip them and try to read their concents that way.

Here are some of interesting files that use can find in a .xlsx archive:
xl/worksheets/sheet*.xml - Contains cell data, potentially including credentials, IPs, URLs, and other sensitive information
xl/sharedStrings.xml - Stores readable text referenced by worksheet cells, useful for extracting data
xl/workbook.xml - Lists worksheet names, potentially revealing interesting or hidden sheets
docProps/core.xml- Contains metadata such as creator, last modifier, and timestamps
docProps/app.xml - May reveal the software used to create the document

References

Used in: EscapeTwo