Apartment fire displaces 24 people