https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4807808/
"The ostrich Struthio camelus reaches the highest speeds of any extant biped,
and has been an extraordinary subject for studies of soft-tissue anatomy and
dynamics of locomotion."
"High safety factors suggest that bone densities and anatomy of the ostrich
tarsometatarsus confer strength for selectively critical activities, such
as fleeing
and kicking predators. "
https://www.calacademy.org/blogs/project-lab/ostrich-leg-bones
"Most birds have bones that have been adapted to their lifestyle in the air.
Their structure is hollow with an internal pattern of supportive struts
making
their skeleton much lighter than animals of similar size. If you cut a
slice out
of a bird’s bone it would looks a bit like a sponge. Since Ostriches do
not fly,
many of their bones are like our own-solid bone encasing a tube of marrow.
With such heavy legs it would be extremely difficult for an Ostrich to ever
take flight, but instead they have bones that can withstand pressure from
walking and standing. We see solid bones in other flightless birds like the
Emu and even some penguins."