A 79-foot blue whale that washed up dead on a beach in California was struck by a boat, scientists said.