The workplace safety regulator has charged the City of Bunbury over the death of a five-year-old boy at a local museum.