In the third week of September, thousands of people organized themselves into neat lines that snaked along the city blocks of New York, Seattle, London, and dozens of other cities around the world. Sleeping in cardboard boxes, or keeping wakeful vigil through the night, they were participants in a biennial ritual: waiting in line to buy the new iPhone.