Aren't there only, say, two or three companies that fit that criteria? The legislators may as well have called them out by name.
- Google and Apple must do X => unconstitutional
- All Companies bigger than X with chat-like apps and an app store and a near-oligopoly OS must do X => probably constitutional
- All Companies such that (proceed to list dozen of random characteristics meant to only ever apply to Google and Apple ) must do X => probably unconstitutional