Just because the US has (comparatively) bad banking infrastructure doesn't mean most places do, most of Europe can do this and has been able to for years (though probably in EUR). This includes some cross-border payments.
Instant payments should be coming to the US in 2023. See https://www.federalreserve.gov/paymentsystems/fednow_faq.htm