When companies funnel money into their own shares, earnings per share look better, but the buybacks can siphon money away from investments in innovation.