<p>Companies are spending record amounts on buybacks this year, a boom that has been overshadowed by the extraordinary sums a handful of technology giants are pouring into artificial intelligence infrastructure.</p>