Warren Buffett’s company reported a $43.76 billion loss in the second quarter as the paper value of its investments plummeted, but Berkshire Hathaway’s many operating companies generally performed well.