US stocks have opened mostly higher as investors put money back into shares of major technology companies.