In one sense, no because we get this programmed in for free by our ancient biology. But do note that it did not just pop up full formed and took quntillions of complex interactions over eons of time to get to the point it is now. This is why making robots that behave like biological entities is insanely hard, evolution has spent an epic fuckton of compute on the problem already.
Now, if you're building human like robots, then yes, you need to understand all the above.
Until they become a focusing mirror that turns into a gigantic magnifying glass, see: the Walkie Talkie building. Evidently, glass buildings are hard enough that even with hundreds of engineers, there still ends up being second order effects that are unaccounted for in many designs.
Building a skyscraper with glass windows means understanding the physics of light, geography, the spin of the earth and it's rotation around the sun, materials science etc.