https://github.com/MattGorko/libu2f-emu can spin up virtual U2F tokens which are indistinguishable (in my experience) from real ones plugged into a USB port
WebAuthn deliberately doesn't give relying parties a way to tell if two registrations are from the same device.