Alphabet Inc. pays Samsung Electronics Co. an “enormous sum of money” every month to preinstall Google generative AI app, Gemini, on its phones and devices, according to court testimony, even though the company’s practice of paying for installations has twice been found to violate the law.