Arista Networks Inc. delivered a higher profit in the fourth quarter, thanks to a double-digit sales increase driven by growing demand for artificial intelligence networks.