Step 1: Calculate the actual weight of the cube.
Given,
\[
m=400\,\text{g}=0.4\,\text{kg}.
\]
Hence,
\[
W=mg=0.4\times10=4\,\text{N}.
\]
The apparent weight is
\[
W_a=3.36\,\text{N}.
\]
Therefore, the buoyant force is
\[
F_B=W-W_a=4-3.36=0.64\,\text{N}.
\]
Step 2: Apply Archimedes' principle.
The buoyant force is
\[
F_B=\rho_w Vg,
\]
where
\[
\rho_w=1000\,\text{kg m}^{-3}.
\]
Thus,
\[
0.64=1000\times V\times10,
\]
\[
V=\frac{0.64}{10000}=6.4\times10^{-5}\,\text{m}^3.
\]
Step 3: Calculate the density of the cube.
The density is
\[
\rho=\frac{m}{V}
=\frac{0.4}{6.4\times10^{-5}}
=6250\,\text{kg m}^{-3}.
\]
Hence,
\[
\boxed{\rho=6250\,\text{kg m}^{-3}.}
\]
Therefore, the correct option is \(\boxed{(D)}\).