An Israeli airstrike on an apartment building in the Shati refugee camp has killed at least four people.