Publicly traded firms' purchases of their own shares are expected to hit a record in fiscal 2018, which ends next month, as they are increasingly focusing on the interests of shareholders.