Both?
Why not slow down AND have better headlights? You have assumed two things:
1) These headlights would be stock (standard). It's more likely they would be an option, like xenon in many cars.
2) They are expensive. We don't know that from this article. Processors are dirt cheap these days, the program is straightforward math, and the actual equipment... who knows?