It does not "come with" an inverter, but the only inverter that is compatible with Powerwall right now is the SolarEdge 7600 model.
To have a system that will provide power to your home when the grid is down, you need to have a sub panel containing those specific circuits that will draw from the Powerwall, according to the electrician who is installing my PV/Powerwall system in August.