Please note that this is by no means a new situation, this weapon
https://en.wikipedia.org/wiki/CBU-97_Sensor_Fuzed_Weapon
contained submunitions that autonomously target tanks, and visual + radar target recognition was a feature in both the Pershing 2 and Tomahawk missiles.