Apple Stock Ticks Up After a Surprise From China—and a Legal Win