Tesla isn’t technically doing it either. They do some trickery to get around the local laws that already exist in every state to prevent factories selling directly to consumers.
This all happened a long time ago. I want to say 1950s or 1960s? There are laws in place that require a licensed car dealership to be in the loop.
During the dot-com boom, a bunch of people challenged these laws and tried to offer direct-from-factory car sales. Most notably Cars.com, but a lot of people tried. They all lost. Cars.com pivoted their business model to more of a standard used car sales system to stay alive. People have been wanting this for decades. It’s not like Tesla was the first to try.
I forget the trick that Tesla is using to get around this, but it’s related to how they have separate delivery sites from their dealerships or something. Someone more knowledgeable here probably has the details.
The Florida law is probably closing some additional loopholes in the existing laws.