Military space stations like the American Manned Orbiting Laboratory (MOL) and the Soviet Almaz were rendered obsolete* by robotic spacecraft.** Studies are needed to determine what tasks really require humans in space.*** Any such list is presumably going to be reduced as AI and robotics technologies improve over time.
* Have studies with Tiangong done anything to change this conclusion?
** Reconnaissance, communication, navigation, weather, intercepter satellites, etc. and, for example, today's Boeing X-37. Note the use of specialist robotic agents once again. Notice also that they are not of a humanoid form.
*** If the Hubble robotic repair mission had been pursued purely as an experiment then it might have helped to establish some of these limits. And, if you ever wish to repair something (be it by humans or by robots) you should design it with that in mind from the very beginning. (Not to say that "single use" items should not exist. But they stay "single use.")