Regardless of what players intend to do with an AI-less mob, creating one requires console commands, as spawn eggs will create mobs as they would typically spawn, which includes their AI programming.
Created either via spawn eggs with the command "/give @s spawn_egg 1 51" or with the command "/summon npc". Players in Creative Mode that have worldbuilder privileges bestowed by the "/worldbuilder" ...