While Wall Street may be worried about the sustainability of AI spending, a BofA analyst thinks gross margins are more crucial to the stock trajectory.