Machine learning-assisted design of inverted gradient multiring optical fibres for flat-top beam generation