A US jury has ordered technology giant Apple to pay more than $234m (£152m) in damages for patent infringement.