Nine people were injured in Brooklyn after a BMW driver lost control and veered onto the sidewalk Thursday night, officials said.