Man dies in apartment fire