Revenue growth and AI investment are pushing some tech firms to downsize their U.S. workforces in favor of hiring ...