Well maybe a modern machine fell into the ancient techno-ruins and then died and then its machine ghost came back to this fallen world and considerately packaged all its valuable parts into loot boxes. Did you ever think of that?