It occurs to me that I should update the above, since I was able to resolve my keyboard issue:My obsolescence problem with Apple is with how long it provides accessories for older products. My perfectly functional iPad Pro 9.7" (2016) now has a worn out Apple keyboard cover that apparently Apple no longer sells.
I have heard conflicting reports that the 10.5" iPad Pro keyboard may fit the 9.7", although Apple reps have told me that it's not true. I see the new 10.5" iPad Air has an available keyboard. It would be great if it would work with my Pro, but I'm not betting on it.
I spoke with a Genius at my local store about buying a replacement keyboard, and he assured me they are no longer available for sale at the store. He did suggest that I contact Apple Support online and seeing if a replacement could be bought as a repair, since they are required to carry repair parts for a certain amount of time.
I chatted online with a Support person who was less than helpful; I described the problem and told him I was referred to him by an Apple Genius to get a replacement for my keyboard. He wanted me to reset my iPad to factory default to see if the problem persisted. When I told him I could not do that it was unnecessary, he told me there was nothing else he could do for me and referred me back to the Apple Store. (He was very helpful in making an appointment for me.)
Back to the Genius Bar: I spoke with a Genius who looked up the keyboard's serial number, told me that it had a known problem and was covered under an Apple replacement program and I was entitled to a replacement. Five minutes later I walked out with a new keyboard on my iPad Pro.
So, there's the good and the bad of it. The problem was resolved to my satisfaction but I told Apple in my feedback survey that it probably would have been better all-around if the first Genius had taken the time to do what the last Genius did, namely, follow procedure: Look up the serial number, see if there are any replacement programs against it and supply me with the replacement part from the back, wether free or for the out of warranty price.
Hope this is helpful to someone else.