You may want to tell that to that tweet.
And yet, Apple is not working with Asahi on anything. It was never the case that some Apple engineer contacted Asahi people and offered them documentation or did code reviews for them or asked what kind of feature they want to see. These new features are great for Asahi folks, sure, but it could be just Apple streamlining their basic interfaces, or maybe indeed some higher executive on Apple said, hey, let's throw a bone to the FOSS community. But implementing a feature that makes some stuff marginally easier is far from "working with someone".
In my time working at Intel, I saw how Intel purchased CPUs from AMD to see how they worked compared to theirs
Studying your competitor's products and learning from them is standard practice. What does it have to do with Linux kernel code? They are not studying the interfacing details (those are meaningless for the purpose of building CPUs), they are studying the CPU's behavior (instruction scheduling, latencies, reorder buffer sizes, branch predictor performance...). All this information have been available for M1 since early summer thanks to the efforts of researchers. And I am sure that both Intel and AMD have their own testing labs where they dissect M1 as much as they can.
[...] and to the point of reverse engineering some of what AMD did to make a better CPU, and even adopted some of what AMD did. The results of that were the Core family of CPUs. They still even do that now with Ryzen.
Intel Core is an evolution of Intel P6 (Pentium Pro). What does it have to do with Ryzen?
You may want to ask AMD that. I mean, as they wrote the x86_64 spec and interfacing code that Intel adopted, Intel created a competing CPU that for a fair while beat the pants off of anything AMD could offer.
How exactly do you think CPU software interfacing details like interrupt controller interface or proprietary NVMe variants could help Intel to reverse engineer Apple CPUs? That's like reverse-engineering the car engine from a picture of a steering wheel...
Why do you think the Core series has been popular for Intel over the past 14 years?
Definitely not because Intel copied some tricks from AMD... AMD had great success with K7 since Intel got stuck with Netburst, an microarchitecture that in hindsight did not fulfill the expectations. The result of this was that Intel went back to the drawing board and took an older architecture (P6), which prove to be much more scalable than Netbrust (or K7, for what matters). I mean, current Alder Lake Golden Cove is still based on the 1995 Pentium Pro.
If Intel could do that with AMD (hell, Cyrix did that with Intel!), then Intel could do that with Apple.
Intel didn't "do" anything with AMD. Intel simply had a superior microarchitecture and better execution. Now Apple has a superior microarchitecture and better execution.