The U.S. securities regulator has opened an investigation into Tesla Inc. over a whistleblower complaint that the company failed to properly notify its shareholders and the public of fire risks associated with solar panel system defects over several years, according to a letter from the agency.