Artificial Intelligence in 5G and Beyond Networks