(Reuters) - The Supreme Court on Tuesday sided with Samsung in its big-money smartphone patent fight with Apple, throwing out an appeals court ruling that said the South Korean company had to pay a $399 million penalty to its American rival for copying key iPhone designs.