Two riveting shows, at Centre Pompidou-Metz and Basel’s Museum Tinguely, showcase the 75-year-old German artist’s ingenious capacity for invention