Always thought of a “tech” company as one whose bread and butter directly depend on shipping software and/or hardware. By this definition, all of the “magnificent seven” mega-cap tech-centric companies qualify, though admittedly old media morphing into streaming companies muddies things a bit.
Maybe a useful qualifier would be whether the business could exist without computers. So while the everything store of Amazon, for example, was in fact preceded by Sears’ mail-order catalog, its AWS division could have no reasonable analog analogue, putting AMZN solidly in the tech category.