Apple, Google, Meta and other big tech companies have used patents defensively not offensively. That is, as mutually-assured destruction.
The real villains in this story are the patent holding companies that sue in East Texas to get in front of one judge that, at a time, heard a quarter of all US patent cases, all brought by NPEs (non-practicing entities aka patent trolls). IIRC there was at a time another judge and I heard a story that a popular law firm employed a relative to conflict out the second judge so they could get the judge they wanted.
Apple aren't the bad guys in the patent mess.
[1]: https://en.wikipedia.org/wiki/Apple_Inc._v._Samsung_Electron....