I agree that the top row on a macbook keyboard shouldn't be replaced because some of the keys are essential there.
I'm imagining a touch screen right next to the trackpad that displays the short cuts to common functions of the current app that's open.
For example, I don't mind having common controls of, say Google sheets or Photoshop near the keyboard. Maybe the trackpad could be that touchscreen. idk but I feel there's something to explore in this space.
Or alternatively, individual keys on a keyboard can be LCD screens and show you app specific controls. this way you get the haptic feedback too.