How to resize partition after failed installation of Windows 10 via boot camp?
Open a Terminal application window and enter the following commands.

sudo diskutil erasevolume free none disk0s3
sudo diskutil apfs resizecontainer disk0s2 0