Shares of Microsoft Corp. leaned lower in early Monday trading, after D.A. Davidson’s Gil Luria became one of the rare Wall Street analysts who isn’t enthusiastic about the software giant and artificial-intelligence play.