I believe there should be some sort of fail safe in place to avoid losing coins when you make a mistake sending to a wrong script, maybe miners/ nodes should never accept to relay such transactions?
Absolutely not. First of all you can't send coins to a burning looking address by mistake. It's something you need to do deliberately. In fact, there are reasons sometimes to send coins there, like supposedly Proof-of-burn mechanisms like Counterparty. Secondly, not relaying such transactions would introduce censorship.
As for falsely written scripts, we already have non-standardness. Be cautious from that point on.