Apple isn't really invested in AI. If AI vanished tomorrow, Apple's revenues were the least impacted of all of these. Declining RAM prices would on the contrary benefit Apple, as they would simply keep selling at higher prices for a while and increase the Apple tax on RAM and SSD even further.
Also, Cloudflare isn't much into AI as well, AFAIK.