Man pleads guilty in ATM fraud case that stole more than $25