Even lasers spread. This guy agrees with me: https://www.quora.com/Is-the-light-from-lasers-reduced-by-th...
But in the near field, that's not the case.
Beamforming arrays have planar wavefronts close to the source, so the inverse square law does not apply. The wave fronts will become spherical again at a "large" distance from the emitter, where the meaning of "large" depends on wavelength and emitter size.
Focussed lasers also do not have spherical wave fronts in the near field. The distance at which the inverse square law starts to apply to lasers depends on beam width, coherence, and focus.
I hope that helps picture the situation. My original comment that a beam can have a different exponent was incorrect except in some approximate sense. The inverse square value will still apply, but from the beams real or imaginary focal point (if it is a point) But it the case of a transmitter beaming a signal at another, that focal length can be far beyond the reciever, so the 'rule' can be completely confounded.
"Laws" tend to be less rigorous and more narrowly applicable than "theories," though the colloquial meaning of the terms is switched.
Ohm's law was a law long before the electron was discovered. It's an emperical linear relationship that just seemed to work. Since no mechanism is suggested, it's not possible to determine whether ohmic behavior is expected or not. In contrast, The Drude Model's explantion of ohmic behavior could be considered a theory. It makes an attempt to understand the underlying physics, and from this it is possible to predict whether a material will follow Ohm's Law or not.
You can say the "the theory of quantum chromodynamics," but not "the law of quantum chromodynamics". 'Law' implies a small number of simple equations, while theory allows for a much larger scope of complexity or rigor. The meaning is absolutely different. Modern science is pretty complex compared to what went on 200 years ago, so it's not surprising law has fallen out of favor.
There are excpetions to many inverse square laws, they just aren't relevant to the problem at hand.