They are very large tech companies which will invariably have some relationship with every industry.
Apple had some early contracts in defence, Google's early research grands were National Science Foundation, but that's not defence companies.
'Boeing' blurs the lines definitely - they are 35% defence contractor mostly civilian airline agency and didn't really start as military.
It's important to understand that every company of a certain scale exists a bit differently than others, and in some industries, like aviation, will be considered 'strategic' and they're going to work with 'national interests' in a lot of ways, that may involved some kind of defence contracting.