Smart manufacturing market attracts $6.7bn in funding as businesses prepare for Industry 4.0