For years, the biggest tech companies have been lauded by investors—and at times assailed by smaller rivals and investigated by regulators—for how they appeared to be...