There is no technological equivalent for a dog's nose in reliability, form factor, and cost. That, and a Boston Dynamics type robot probably costs several orders of magnitude more than training a dog/trainer pair, and is much less flexible.
Amusing note: at least for ATF, all arson/explosives detection dogs are dropouts from the seeing eye dog training programs (too energetic). Source: relative was involved with the program.