Three people have been rescued after a tunnel allegedly used by Palestinian weapons smugglers collapsed .