Robots are cheaper per flight, and can operate for years at a location. Manned flights can bring heavy, power hungry, complex equipment and can return large masses of samples to earth. Apollo landings returned 100kg of samples versus the 1kg of sample which is typically planned for robotic sample return missions.