How to make APFS option available in disk utility?
Partition Map Type:   MBR (Master Boot Record)

You need to format the entire drive, not just the partition.

APFS requires the underlying structure to be GUID, not MBR.

As only Volumes are shown by default, you need to change to Show All Devices from the View menu…