Tech firms and automakers develop self-driving software and sensors, deploying robotaxis and autonomous trucks under local permits.