Stop me if you’ve heard this before: Apple Inc. is promising to fix the MacBook keyboard issues. Yes, again.

Apple on Tuesday said it was changing a material used in its butterfly keyboards and expanding its keyboard-repair program. The program previously covered first- and second-generation keyboards, but now includes coverage of the third-generation keyboards introduced last year on MacBook Air and high-end MacBook Pro models.

At...