Containers made of sheet-like material and having a shape to accommodate contents