Thief fights for life after 'blowing himself up' in bungled cash machine raid