The server maker is caught between its homegrown troubles and the excitement about the potential for artificial intelligence technology.