Partition an $n\times n\times n$ grid of cubes into "shapes" which are sets of cubes connected by faces. What's the largest number of shapes that can touch every other shape (touching = sharing a face)?
Here is an image of the $2$-dimensional version of the problem, which is simple to solve: for $n=1,2,3$ the answers are $1,3$ and $4$ respectively. Presumably for $n\ge4$, the answer is still $4$ or we would have a graph that is not $4$-colourable.

Let $f(n)$ be the maximal number of pair-wise touching "shapes" in an $n\times n\times n$ grid.
We have $f(n)\ge n$, as can be seen in the following image from the German Wikipedia article on the "Four color theorem":
For $n\ge 4$ we can stack two such constructs with completely different colors to find $f(n)\ge 2n$. This might be best possible, but I do not know. The remaining cases are as follows:
By the way, I think your question can be asked in purely graph theoretical terms: