That’s not true at all for Apple Pay: “Apple Pay doesn’t collect any transaction information that can be tied back to the user. Payment transactions are between the user, the merchant and the card issuer.”[1]
The system is designed such that transactional information goes directly from the bank’s server to your device, and doesn’t pass through Apple’s servers (unless you’re using Apple Card)
[1]: https://support.apple.com/en-gb/guide/security/sec82e7bc3f8/...