Yes. If a PDS is ever on a planet that does not contain any of its owner’s ground forces and contains a unit that belongs to another player, that PDS is destroyed. The same rule applies to space docks.
Structures do not hold a planet by themselves. Once your last ground force is gone and another player’s unit is present, the PDS or space dock is destroyed.
LRR v2.0 (base game / Prophecy of Kings); specific card abilities may override the general rule.