Firefighters pull man out of apartment fire