snip
The important thing is that there are no more mistakes in sending money to the destination account so that no one will be tempted to use money that doesn't belong to them. But if later there is still an error sending money to someone else's account, hopefully the recipient of the money does not use money that does not belong to him but reports it to the bank concerned so that it will not trigger other problems.
When it has to do with fiat and bank transfer that go wrongly to accounts not made for, it can be traced and retrieved though after a while. Usually the banks have details of their customers (that is the difference with cryptocurrency) and they also have synergy with follow banks incase of those traces. Now if there is a wrong transfer made, the bank can send such information to the receiver after sometime to remit it and when this is not done then the bank can freeze the account and go after the person using the police and other legal means.