China launched an unmanned spacecraft to bring back lunar rocks — the first attempt by any nation to retrieve samples from the moon in four decades.