State television has shown images akin to a war zone, in which rescue workers and civilians struggled to remove bodies from smoking ruins