I have the same problem, but I didn’t delete/restore anything. Shadowlands worked fine, updated and ran that game once 10.0 was live and I get the error.
I am on Windows 7, an older rig. Judging by the below post I’m wondering if my hardware is no longer supported. Are you on a newer machine?
https://us.forums.blizzard.com/en/wow/t/cant-start-wow-api-ms-win-core-com-l1-1-0dll/1308792