This command full erases all eMMC.
First, try in the UART console to run the command "defenv" and then the second command "saveenv". This will reset all variables to their original state. After that, you can try to write the regular firmware via USB Burn Tool.
After that, you can normally activate the multi-boot and run the LE from external media and install in eMMC without the risk of killing the TV box.
This is already done by the aml_autoscript. Also burning via ABT would execute the "flash erase" (init 3) and thus completely remove the uboot environment from emmc, so running from devenv would actually make no sense