Re: It's not a "glitch"
In the UK at least, cheques have, for a long time (since the 1980s I think) had security features that have made them machine-readable, at least to verify the sort code, account, and serial number via MICR. One job I held many years ago involved working in a place that printed cheques, using special magnetic toner, because those numbers in a weird "futuristic" font are designed to be recognisable by their magnetic signature when passed through a magnetic reader.
These days, the combination of magnetic verification, and optical recognition (especially of cheques with printed figures on them) should mean that these can be read and verified in seconds. It's very hard to fake a cheque's serial number unless you know the range that has currently been issued, but not yet used, which, for most people, is a cheque book limited to 20 or so numbers at a time. The issuing bank can tell an authorised body (i.e. another bank) immediately if a serial number has been issued but not yet used, and also if the name on the cheque matches the name of the issuing account. There's no reason why a cheque cannot be read by feeding it into a cashpoint, especially with today's image recognition technology, which is a million times better (probably not even hyperbole) than it was in the 1980s. As I said, most banks will verify a cheque by you taking a picture of it in your banking app, which no doubt allows them to perform these exact checks.
If you "deposit" a cheque into a cashpoint, and it needs someone to pick it up and process it manually the next day, then you have to wait overnight fort he funds to clear. I don't actually see that as a problem. If you deposit cash, I'd expect the same thing. Why should they trust you that the banknotes you are saying you are depositing in an envelope actually in there, or are even genuine. If you wanted to deposit cash to a bank and have the funds immediately available, you'd do it over the counter, or use a machine that individually verifies each note as you feed it in, like a vending machine or a change machine in an amusement arcade does. I don't know if any cashpoints offer that facility, I've very rarely had to deposit cash.