My current bike can fit up to 50mm.
https://blackmtncycles.com/
It totally varies based on bike brand/model. At this point, everything marketed as gravel or cx should be able to clear a true 40mm tire. Just no reason not to since there dont need to be any quirky design accommodations to clear that.