Yes, mechanics to build the machines to repair them in a fully automatic fashion.
For a thought experiment on this, check out http://thelightsinthetunnel.com/ which explores the idea that eventually humans will stop inventing because we'll have everything we need