An Israeli air raid flattened a building housing residential apartments and the offices of news organisations, including Al Jazeera and AP, in Gaza.