There are 20K ifra-red scopes on 5-10K rifles, not too different. More specialized and complicated electronics on top of a simpler machine. If you don’t think it is going to be more expensive to make a computerized scope than an M4, you are wrong.
My attitude comes from being assigned to a 2nd Armored Div. company, mid 1980s, (”We Fight By Night”) where all the then-emerging night vision tech was tested in field conditions. Pretty cool until batteries failed unexpectedly or optics cracked, then it was back to ears open and one eye patch.
That made me appreciate the K.I.S.S. principle for life. The more we can rely on training and technique while minimizing over-dependence on technology the better.