AI, Industry 4.0 patent applications on rise