I've been wanting this for twenty-five years.
There are things that do some of this, but not very well, and not very cost-effectively. There is software that simulates this on a touchscreen (grr). Anyone fancy a hardware startup?
How about forgetting the electronics, and seeing controllers as just another UI problem. Software, implemented in plastic.
What would you want to build if it were that easy? Custom controllers for games? Custom games? MIDI Instruments? Dashboards with physical elements? Home / media center controls? POS interfaces? Hardware usability testing prototypes? Kitchen gadgets?
Maybe I'd be the only market, but I think it would be a big blurring of the line between hacker and maker culture.
Pressure displays (2009): https://www.youtube.com/watch?v=Smai_Z_galE . I can't believe they didn't attempt to build "pixels" of some kind though. More recently, a lot of ultrasound tech (2014): https://www.youtube.com/watch?v=kaoO5cY1aHk . Tangible displays from MIT (2013): https://www.youtube.com/watch?v=lvtfD_rJ2hE .
I could see any of this being feasible for interacting in a non-mobile setting (car,desktop) with some adjustments.
Also those relegendable knobs and sliders are very popular in the music industry already 0 - so it would be fairly trivial to bring it to a consumer device.
http://venturebeat.com/2012/05/22/the-maker-movement-starts-...
Go through the products available at a site like sparkfun or adafruit and tell me you couldn't make some awesome customization control panel system? Larger buttons for smartphone-specific functions, some with their own small (and low-cost) discrete display perhaps?