US fighter jets have ended their combat missions in Libya, with NATO to take full command of operations.