A rally in the world’s largest tech companies lifted stocks as investors brushed off weak economic readings to focus on ...