A roughly 25-foot gray whale washed ashore and died Wednesday on Dockweiler State Beach south of Marina Del Rey.