Navigating Liability and Safety in Autonomous Vehicle Law: An Analysis of the UK's Automated and Electric Vehicles Act 2018