Thieves steal ATM in smash-and-grab