The enclosed region is symmetric about xy-plane.
So, if z=k is on of the plane, then the other is z=-k.
If we cut the enclosed area by the plane z=k, we will get an ellipse
The area of the rectangle having largest area(with sides parallel to ellipse axes) is
Hence, the volume of box is
For maximum volume, value of k is found to be