101Leafy researched the games.

Sherm

タンクロー

Sherm, Super Mario Odyssey art from the Prima guide, p342
Sherm. Super Mario Odyssey: Prima Collector's Edition Guide (Prima Games, 2017) p342

Dodge tank shots and ground pound them to destroy Sherms. If captured, a Mario tank is a dominating offensive force, with a turret that can be motion-controlled for greater accuracy while launching rapid-fire tank shells.

Super Mario Odyssey: Prima Collector's Edition Guide (Prima Games, 2017) p342

In Kingdom Adventures

Wooded Kingdom

Why would there be a tank in a flower garden? That's a question that will have to go unanswered, as the Sherms in Wooded Kingdom don't offer Mario any time to chat. Quickly capture a Sherm when you spot one and open fire on the others.

Super Mario Odyssey: Kingdom Adventures, Travel Companion Volume 2 (Prima Games, 2017) p53

Metro Kingdom

The main muscle in Bowser's occupying army, Sherms are found all over ground level in the city at first. They locked down the city's streets, then posted up to swat flies and repel would-be heroes. This strategy backfires for Bowser and friends, because Sherms turn out to be terrific capture targets for Mario and Cappy.

Super Mario Odyssey: Kingdom Adventures, Travel Companion Volume 3 (Prima Games, 2018) p49

Moon Kingdom

Bowser-affiliated tank patrols, packing more serious firepower than most other dangerous denizens. (It's unknown how they got all these tanks to the moon, but here they are.) If forced to fight back against Sherms, try to lure them into crossfire. Careless tank patrols can easily blast each other apart, or accidentally eliminate other hostile creatures.

Super Mario Odyssey: Kingdom Adventures, Travel Companion Volume 5 (Prima Games, 2018) p73

From the kingdom chapters of each volume.

English name
Sherm
Japanese
タンクロー (THE ART OF SUPER MARIO ODYSSEY スーパーマリオ オデッセイ 公式設定資料集 (Tokuma Shoten, 2018) p144)
Kind
Unfriendly captures
Kingdoms
Wooded Kingdom, Metro Kingdom, Moon Kingdom, Dark Side
Guide pages
Super Mario Odyssey: Prima Collector's Edition Guide (Prima Games, 2017) p342

Kingdoms as the Flora & Fauna box of each kingdom in the Prima guide lists them.

Pokio · T-Rex · Captures