This is the same logic as "Tesla loses money on every car". We've heard that logic for years, but Tesla doesn't operate that way.It would not surprise me if Tesla's solar panel division is operating at a loss to re-gain market share. Having said that, they have an extremely streamlined back-end process and only do certain types of installs (the easy ones). Additionally they likely have negotiated favorable volume purchase contracts for panels and inverters compared to what local installers can get.
It would not surprise me if Tesla released their own inverter in the near-future. They are all about vertical integration and doing things in-house.