Apple and Microsoft have turned tech into a dividend-paying paradise