It's not more morally reprehensible than landmines. Borders all over the world use landmines, one of the most common weapons for area denial. Remote controlled or autonomous machine guns have the advantage that you can retire them more easily. With landmines, if you misplaced the map, you have a problem. Even if you still have the map you have a problem: what if the map is only 99% accurate?