The authorities widened their investigation into possible anthrax contamination yesterday to include an apartment in Crown Heights, Brooklyn, and medical officials were giving antibiotics to seven people who could have been exposed to the spores.