Do bronze medals ever make sense for unicorns?

When should a startup decide to cease its efforts to challenge leading players in a specific market?