Bank of America switched years ago to "Insert card, remove card, enter PIN, take money, take receipt." Capturing invalid cards, while often done with early ATMs, turns out not to be all that useful as a fraud prevention measure. It's not required by the current PCI standard for ATMs.[1]
There's also an attack on ATMs called the "Lebanese Loop"[2] which requires that the ATM try to retain a card. So there's a security problem with retaining cards.
[1] https://www.pcisecuritystandards.org/pdfs/PCI_ATM_Security_G... [2] https://en.wikipedia.org/wiki/Lebanese_loop