To make a non-rendering cube or whatever you can just disconnect it from the initial shading group in the hypergraph...