WASHINGTON (Reuters) - Rovi, which sells television guide programs to cable providers, lost a patent fight with Amazon.com on Tuesday when a federal appeals court upheld a U.S. district judge's ruling in favor of the world's largest online retailer.