Last fall, a block in central Stockholm that looked like a typical city street—lined with parking spots, and with the rest of the road devoted to traffic—became part of a new national experiment.