Apple and Google have blocked all Hamas military channels on the Telegram messaging app.