The hardware (ML chips, failsafe systems, LIDAR, radar, cameras, other sensors) isn't cheap. I'd expect an autonomous car to cost at least 5k-10k more if mass produced at a similar scale, and probably more than that in practice due to smaller numbers. Plus R&D of course.