NEW YORK — U.S. stocks made up for a shaky week with a strong finish Friday as Apple led a rally in technology companies. The tech giant hit a…