Amazon has a history of employees within the company leaking large sets of customer data, or using their internal access to target vulnerabilities in customer AWS setups. As far as I know they haven’t had any breaches by non-employees, but major internal data use issues are still security problems.
Apple only has if you count exploits that allow for hacking Macbooks and Iphones as far as I know (and I wouldn’t count that personally).