I conceive that it might be for ambiance purposes. Main street looks more attractive to people coming out at night to go to the restaraunt or similar if it is lit up.
I don't know the motivation behind it, but I know that well lit areas are less likely to be vandalized. No it isn't environmentally friendly, but the alternative is muggings, larceny, assaults, etc.