Chris Weidman survived several tense moments en route to defending his middleweight title via unanimous decision over Lyoto Machida at UFC 175.