Three people have exploded an ATM at a historic inner-city market, with one taken to hospital under police guard.