Though overall profits have started to decline, revenue growth—and the promise of artificial intelligence—are boosting tech companies’ market value.

Read more on