The ASUS ROG STRIX Z890-A GAMING WIFI wins in 3 out of 14 comparable specs, with 9 ties. Its biggest advantage is USB Type-C (100% better).
ROG STRIX X870-A GAMING WIFI wins in 2 specs (PCIe x1 Slots: 100% better).
Recommendation
Choose ROG STRIX Z890-A GAMING WIFI if you want the best overall performance — especially usb type-c.
Choose ROG STRIX X870-A GAMING WIFI if pcie x1 slots matters more to you.