Please help me fix my partition table - I completely messed it up
Boot to internet recovery.
Open the Terminal application.
Enter the following command.

diskutil erasedisk apfs "Macintosh HD" gpt disk0

Quit the Terminal application.
Install macOS.


FYI:

The synthesized drive disk1 is just the physical partition disk0s2 which resides on your 1 TB physical drive (disk0). This disk0s2 partition contains the volumes disk1s1, disk1s2, disk1s3 and disk1s4.