A high quality Victron inverter set for 3 phase is around $2500, that's not a budget option but one of the better inverter brands you can find. Add $2000 for a 16 kWh battery and you're done for less than 1/3rd of the price of the Tesla solution.
Safety and quality in $2k battery is just not going to be there. That's bottom of the barrel. Quality batteries cost roughly the same.