Apple's repurchases did the job," Buffett said in his 2021 annual letter to shareholders.