Cars can be used for good or evil. For the most part we leave it up to the users to do the right thing, however we don't just leave it up to the users. If a modern car manufacturer were to make a vehicle with no safety features whatsoever, we would rightly call them out as a bad actor. Seat belts, air bags, bumpers, crumple zones, defoggers, windshield wipers, and on and on. We have laws that require a basic level of safety for these potentially dangerous machines.
There is no reason we shouldn't expect tech and software firms to include basic "safety" considerations of their own.
Remember all those companies that helped implement censorship and spying systems for authoritarian regimes? Still thing it should up to "the lawmakers"?