At least 21 people, including 11 children, died after a war-damaged apartment building collapsed in Gaza.