Elastic properties of moiré lattices in epitaxial two-dimensional materials