Physical access means complete access to the machine. An ATM in a locked case isn’t easily hackable, but give a competent person the key and they can hack the machine.
Many ATMs run Windows and I’ve even seen a couple with the blue screen.
Ok so I don’t need complete access to an iPhone and I can grab all the data I need off it. Just expose connector to me and I’ll get everything I need.