Almost any 2D or 3D CAD program will work.
Generally, in those CAD programs you have features like layers what can be turned on or off in the display so you can have the walls on one layer and different types of interior features on others: electrical, plumbing, air, benches and furniture, machines, etc.
They also have a feature which allows you to combine various elements into an assembly or object that can then be moved, rotated, scaled, and copied as a unit. Most of the time this is called a "group". This allows you to construct an object, like a lathe or milling machine, with as much or as little detail as you want and them work with it.
Layers can also hold alternate arrangements so you can instantly switch back and forth between two or more arrangements to compare them.
I have my shop drawn in FastCAD (2D) using all of the above.
Many have also used 3D software for this. Several of the major 3D CAD programs have free versions. I am presently learning and using the free version of Fusion 360 but have used other 3D CAD programs in the past. The free version is 10% functional, nothing is left out. Their only condition is that it not be used for commercial purposes. I like it. With a 3D CAD program you can model a machine down to the last nut, bolt, and washer if you want.