High-profile purchases, leasing deals and hiring have seen technology companies threaten to upend Wall Street’s historic role as New York’s dominant industry.