E-commerce giant will open seven labs globally as part of project that executive chairman Jack Ma says will also contribute to ‘society and the era’