For AM4:
All 3000 series CPU's (Matisse) and 5000 series CPU's (Vermeer) support PCIe 4.0 lanes from the CPU. On a motherboard level, you need to carefully read which slots (standard PCIe and m.2) actually support PCIe 4.0 signals. RTFM. Some chipsets only allow PCIe 3.0 on some slots (depends on what's populated on the board).
3000G series (Picasso/Zen+), 4000G series (Renoir/Zen2) and 5000G series (Cezanne/Zen3) only support PCIe 3.0 lanes, as a rule. Some chipsets only allow PCIe 2.0 on some slots (depends on what's populated on the board)
PCIe 4.0 drives haven't enticed me at all. 2TB 970 EVO Plus is already stupid fast. I don't believe we're at the point where PCIe 3.0 vs 4.0 matters for consumer GPU's (1-3% and probably only for a 4080/4090).