An investigation is underway after a television station building in Sacramento was struck by gunfire, police confirm.