When resizing the VM’s disk, you must also execute diskutil apfs resizeContainer disk0s2 0 inside of the VM.
diskutil apfs resizeContainer disk0s2 0