From my experience, usually they don't. Even the ones that do aren't to the same degree as a car is required to. I want biking to be better than driving, so this is not an anti-bike comment. Maybe we need to add a requirement for bikes to have lights like we require for cars?
That's good! I guess that's the difference between viewing it as a utility vehicle and a recreational one. In the US it's almost always seen as recreation only.
With all all the ebikes out there it is trivial to add a headlight, brake lights, turn signals, and marker lights and require them to be used and maintained like any other road worthy vehicle.
Unless you're in the Netherlands, where 2/3rds of the bikes will have the shitty "this is legally a light" LEDs from the convenience shops... Oh, and 2/3rds of those will be either out of battery, or installed facing the wrong way.