Texas Sen. Ted Cruz will serve a third term after winning an expensive and contentious race against Democratic Rep. Colin Allred.