Elon Musk has said that he regrets some of the posts he made last week about Donald Trump in a humiliating climbdown from his online feud with the president.

'I regret some of my posts about President Donald Trump last week. They went too far,' Musk wrote in a message on his social media platform X on Wednesday.

He did not say which specific posts he was talking about. Tesla shares in Frankfurt were up 2.44% after Musk's post.

Trump and Musk exchanged insults last week after the former DOGE boss described the president's sweeping tax and spending bill as a 'disgusting abomination.'

A full spat exploded in public as Trump said his relationship with Musk was over, threatening to take away government funding from Musk's SpaceX company.