Are the pedals really being pop-riveted back into place? Tesla isn't known for build quality but that is just horrible.
If they are pop-riveting, then I assume they are doing this on the cheap and are also not treating/protecting the metal. They are probably just drilling through without worry about future corrosion issues.
I do think this fix looks quite shoddy in general, but I don't think a bolt/nut would be a better solution in that location.