Old people have trouble with falls too. Maybe we should ban slick bathtubs, tile floors, and raised floors.
As others have pointed out, the entire building code is basically a balance between cost and safety. Anything having to do with egress tends to get extra attention, as well. If there was a zero-cost way to prevent slips and falls, it might well end up in the building code, yes.
You can usually look on the box and find the coefficient of friction (COF) for any floor tile you buy. OSHA has requirements for what COF is appropriate for various uses (dry and flat or wet and sloped, for example). It wouldn't surprise me if that sort of thing eventually makes it into the residential building code.