The whole "butterfly-keyboard-ate-my-children" thing was just a media thing. And they dropped it because a few anecdotal problems were turned into a hysteria. It was the perception that the keyboard was bad that made Apple kill it, not the facts.
There were some good articles about this hysteria, like this one:
In April 2015, Apple introduced its new Retina Display MacBook with a new "butterfly" keyboard design. Some critics didn't like its shorter key travel, but complaints really began to snowball as its mechanism was adopted across Apple's other notebook models. Today it's regarded by some as a...
appleinsider.com
You you can’t blame the media. In the article you posted, the comment section even has the Apple apologists highlighting the flaws with the article.
If you thought it through logically, you’ll realise there is a reason they didn’t have a repair programme for keyboards before 2016. There were those who tried to deny the whole staingate scandal, the issue with the short displaylink cable which was prone to break and some others I am forgetting - despite Apple fixing them, yet apparently it was just a media hype.
If you honestly believe Apple make decisions based on media and not on the data they have on how many repairs and returns occurred based on an issue - I guess ignorance is bliss.
Fun fact, let’s not forget all the media hate on Touch Bar, removal of Headphone jack, the removal of non type C port dongle gate, the dreaded notch, you see where I am getting at? Apple don’t give a crap.
Apple are successful because they are an outcome driven company, not a media driven one. They have more often than not been criticised by the media but they ignored it to their success.