Warner Bros. Discovery Inc., the parent of HBO and CNN, swung to a profit in the second quarter, buoyed by a string of successes at the box office. The New York-based company posted revenue of 9.81 ...