Active sensors aren't viable anymore for military applications outside of severely asymmetrical conflicts. Active sensors will advertise their position to seekers and guided ordinance. Passive sensors are going to be required for military autonomy, and military R&D will guarantee these will supplant active sensors like LIDAR.
Let's say that Tesla goes 100% pacifist, and declares that no Tesla technology, like Dojo, will ever be used for military purposes. Just the fact that Tesla FSD had solved computer vision and the fact that Dojo exists will guarantee that someone will replicate those things for military applications.
Active sensors could still become so cheap, however, that they will be used in applications where each unit must be very cheap and therefore can't have the onboard processing for full-blown autonomy AI and computer vision. LIDAR could then be used to reduce unit costs for those super low unit-cost applications. These LIDAR would be much smaller and much lower power than the LIDAR for autonomous cars.