No, making cars was never outright illegal. Operating a cap company, (or rather an illegal one), without proper licensing was. Operating a hotel out of your house was. Nice strawman.
But hasn't professional licensing and regulation gone a bit too far when driving someone in your car for money is supposedly illegal? What's the crime in that?