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.