The Israeli military is using artificial intelligence and the targeting of low-level members of Hamas in their homes at a time when civilian casualties would be high.