Recent Trends in Mechatronics Towards Industry 4.0