I have regularly seen the following in areas classified as "yards and public ways":
parking lots
rail lines (this was listed in an old version of a UBC Q&A interpretation manual)
giant retaining walls with a freeway below
high voltage power lines
trees
fencing
dining patios
When I've asked other people about this, they say that yard width not so much about firefighter access (which is prescribed by the fire code, and a yard can certainly double as a firefighter/ fire vehicle access), but it's more about keeping a fire in the subject building from causing harm to neighboring buildings.
See also this ICC interpretation:
https://www3.iccsafe.org/cs/committeeArea/pdf_file/BU_00_20_03.pdf from 2003 which has this Q and A:
Q1: Are structures such as tanks, cooling towers, generators, and trash dumpsters permitted within the 60-foot public way or yard that is required to surround and adjoin an unlimited area building?
A1: Yes. An unlimited area building must be surrounded by a fire separation distance of not less than 60 feet. The fire separation distance, as defined in Section 702.1, is the distance measured from the face of the unlimited area building to an interior lot line, the centerline of an adjacent street, alley or public way, or to an imaginary line between another building on the same property. No other building is permitted within the 60-foot fire separation distance. The purpose of the fire separation distance is to establish a minimum separation between buildings that will serve to reduce the possibility that a fire in one building can spread to another building.
It is not the intent to prohibit elements other than buildings from being located within the fire separation distance.
Q2: Is an automotive parking lot permitted within the 60-foot public way or yard that is required to surround and adjoin an unlimited area building?
A2: Yes. A public way can contain a street or alley that is specifically dedicated for vehicular circulation and parking. Vehicular circulation and parking are permitted within the portion of the 60-foot fire separation distance that extends beyond the building property and into a public way. Likewise, vehicular circulation and parking are permitted within the portion of the 60-foot fire separation distance that is located within the building property.
Q3: Is the 60-foot yard that is required to surround an unlimited area building required to be publicly owned?
A3: No. The 60-foot fire separation (open space) must be located on the same property as the building or on property dedicated for public use. The property on which the building is located may be privately owned or publicly owned.
I'd also add regarding Answer 3 that I've seen cities accept, for purposes of establishing a yard separation, a "no-build" easement recorded on a separate, adjacent property.