Have we considered subject-to-camera distance?
The DoF is determined by how close the subject is to the lens, whatever the focal length. Closer = shallower DoF.
A proper macro lens, for example, which can focus to about 1cm will give an incredibly shallow DoF at this distance to the extent that focusing can be really difficult with the lens wide open so it is necessary to use magnified manual focus and to stop the lens down to a medium aperture so that the subject falls within the zone of sharp focus.
Here is an example of a familiar subject, shot at f5.0, lens-to-subject distance about 2 cm, autofocus using a Sigma 50mm f2.8 macro lens on an APS-C crop sensor camera. The DoF is of the order of a couple of mm. The same lens, on the same settings with a portrait shot and the subject a few feet away would have a much wider DoF (inches/feet).

38/365 by stuartie_c, on Flickr